Results 1 to 2 of 2
I had a problem with mysql.sock and this is the final answer i thought would be correct
i have tried:
- /etc/init.d/mysqld restart
- /etc/init.d/mysqld start
- mysqld_safe --user=mysql &
...
- 09-15-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 4
Mysql 5.1.37 community on Linux
I had a problem with mysql.sock and this is the final answer i thought would be correct
i have tried:
- /etc/init.d/mysqld restart
- /etc/init.d/mysqld start
- mysqld_safe --user=mysql &
and none of those worked...
i guess this is because, the server crashed in the first place.
So, the solution i had, was to loacte the file
/var/log/mysqld.log
like this:
tail -f /var/log/mysqld.log
or
cat /var/log/mysqld.log
figure out the error message, solve that error message
or try to find a work-around for that error on google.
Once that error message is "solved", then you can safely restart mysqld
[no need to reboot], and once the daemon is up and running,
your magical "mysql.sock" file will appear as it did before. =)
But the thing is i am unable to find the file mysql.log
i even tried uninstalling using the "rpm -e filename.rpm" it says that it is not installed and when i try to install using "rpm -ivh filename.rpm" it says that the package is already installed
i am in a fix..
So can anybody please help me in fixing or uninstalling the mysql.version is 5.1.37 community version
thanks in advance,
eagerly waiting for a reply...
Ananth
- 09-16-2009 #2
Those are for Ubuntu or Debian. In Fedora, to make the MySQL server start at boot use this command:
To start the MySQL daemon use this commandCode:/sbin/chkconfig mysqld on
You need to run these commands with root privileges, so use su first.Code:/sbin/service mysqld start
Paul
Please do not send Private Messages to me with requests for help. I will not reply.


Reply With Quote
