![]() |
| |||
| I've downloaded and run the rpm's for MySQL 5.019, both client and server. Now when I type mysql start at a command prompt, I get "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Where do I go from here? I'm a linux newbie, btw. Scott |
| |||
| Thanks, Bill. That seemed to do the trick. Now, on to PHP... On Tue, 2006-03-21 at 13:48 -0800, Bill Karwin wrote: > "Scott" <nospam@nospam> wrote in message > news:1142968573.8266.49.camel@localhost.localdomai n... > > Thank you for the additional info. The command you suggested gave the > > following error: > > Starting MySQLCouldn't find MySQL manager or server [FAILED] > > First, make sure you are not running SElinux (security enhancements), > because MySQL won't run with SElinux enabled. See > http://bugs.mysql.com/bug.php?id=12676. You can turn off SElinux with this > command at a root shell prompt: > > # setenforce 0 > > See this following bug logs: > "mysql 5.0 will not start on fedora core 4": > http://bugs.mysql.com/bug.php?id=15104 > "/etc/init.d/mysql script doesn't work under fedora core 4" > http://bugs.mysql.com/bug.php?id=14457 > > Fedora Core 4 comes with MySQL 4.0 if I recall correctly. The RPM for MySQL > 5.0 puts some files in different places than the corresponding files reside > in the FC4 installation of MySQL 4.0. So the /etc/init.d/mysql file or the > /etc/my.cnf file contain settings that direct the software to look for its > datadir in the wrong place. > > Apparently the installation of MySQL 5.0 does not replace the > /etc/init.d/mysql script or the /etc/my.cnf file. That's okay -- it's > traditional not to overwrite existing config files during an installation, > because the user might have some settings they don't want to lose. > > So you could remove the files /etc/init.d/mysql and /etc/my.cnf that were > left over from the previous installation of MySQL, then reinstall MySQL 5.0 > to get the new copies of those files, containing the settings that are > correct for MySQL 5.0. > > Regards, > Bill K. > > |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |