Starting MySQL? Port in use???
I am running on RedHat 8.0 and I guess it doesn't come preinstalled with MySQL because when I type 'mysqld' it says bad file name or whatever. When I run netstat -n or netstat -ant (before installing MySQL) it shows nothing on port 3306. I went to the MySQL site and downloaded the RPM. When I installed the RPM and then ran 'mysqld' it would say...
030701 20:25:56 mysqld started
030701 20:25:56 Can't start server: Bind on TCP/IP port: Address already in use
030701 20:25:56 Do you already have another mysqld server running on port: 3306 ?
030701 20:25:56 Aborting
030701 20:25:56 Shutdown Complete
...When I tried compiling it myself it did the same thing. And when I install it; it acts like it did it right but tells me to maksure to make a root password by running "mysqladmin -u root password 'password'" Well it doesn't even find 'mysqladmin' so I don't know if mysql has to be up and working for that to work? Can anyone help me just to get MySQL installed? I don't know what it's saying it's in use... Also I don't know if this has to do with anything I have been messing with but now all of the sudden when I try to log into my server with SSH it says I type in the wrong password? And I've been using the same password for years... I know I don't have caps on or anything and I've tried it from several different computers. Then when I type in my password on my server to log on it also doesn't work? Any idea's? If I can't get it to work would I have to re-install RedHat completely? Or is there a shorter way?
Thanks
-Andy
|