yes, that is the rc script to start mysql. just make sure that it's executable by root, (as root issue chmod u+x /usr/local/etc/rc.d/mysql-server or .sh which ever)
As said, I run the script and this is what happens
This doesn't start the database all it seems to do for me is switch the user to the mysql user as you can see from above. I don't get it, even after starting mysqld with the safe_mysqld command it doesn't stop the mysql database using the shell script and the command stop. Plus from looking at the script it seems that it uses the safe_mysqld command itself. Maybe there is something wrong with the safe_maysqld script.
It also seems the server is progressively getting slower?!?!
a ps aux would be useful, you should also check the /var/log/messages to see if mysql is trying to start, but can't due to some mis-configuration or corrupted binaries
Here is ps aux, I don't see anything about mysql having problems in /var/log/message. You can see that I tried stopping mysql with the shell script but it is still running. THanks
Okay, so I killed all mysql processes. I check ps aux and no mysql process are running. Then I start it via the shell script and I check ps aux (below). Now I check my website to see if it connects to the database and it doesn't, shows a mysql error. THen I try to connect to the database via the shell and it says
"ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)" Don't I need to start mysqld, or is it already running?
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
After doing a yum install mysql mysql-server on Fedora 14 I wasn't able to fully install the packages correctly. It installed MySQL 5.1. I was getting the following error when running the:
mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)... (3 Replies)
Hello,
I need to run a command on remote Linux using the ssh command from my local machine. I am able to execute the command on remote machine using ssh but it's behaving strangely.
The command is supposed to start a daemon process on remote linux box and the control should return back to me... (5 Replies)
Hi
We are running SCO ver 5. Recently the cron daemon stopped running on its own. How do I find out why? How do I restart/stop it?
I typed cron but it didn't work. Will rebooting it do the trick or can I manually start and stop the cron daemon?
Please help.
Thanks & Regards. (0 Replies)
I've been working on a project to replace one of the my group's primary NIS servers. It also runs mysql and apache, as it is the host for the our team's hardware tracking database and website. Its running apache 1.3, and for some odd reason, I can't get apache to start on system boot. The... (1 Reply)
Hi...
I have installed mysql in Fedora and when i tried to start mysql the error i get was
"Asked for 196608 thread stack"
What might be the problem????
I have tried all ways but doesnt work out........ (1 Reply)