Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
I found that file in /usr/libexec/mysqld hope that helps -- harsh http://www.cse.iitb.ac.in/~harsh -- On Wed, 2 Jul 2003 [EMAIL PROTECTED] wrote: Hi, I got the following message when trying to start the mysql instance: $ mysqld_safe [1] 22717 $ The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. --- Can anyone help me to resolve this? It is emergency. Regards, song -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Do what it says: cd /usr/local/mysql ./bin/mysqld_safe and see if that's any better. Todd On Wednesday, July 2, 2003, at 05:18 PM, [EMAIL PROTECTED] wrote: Hi, I got the following message when trying to start the mysql instance: $ mysqld_safe [1] 22717 $ The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. --- Can anyone help me to resolve this? It is emergency. Regards, song -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Make sure the permissions on the file are set to executable. Assuming your platform is some *nix variant, login as root or owner. Change to the directory where your mysqld is located (/usr/local/mysql/libexec) and execute the following command: chmod 755 * This will ensure the binaries and scripts are executable. I hope this helps. Pat... CocoNet Corporation - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 5:18 PM Subject: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Hi, I got the following message when trying to start the mysql instance: $ mysqld_safe [1] 22717 $ The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. --- Can anyone help me to resolve this? It is emergency. Regards, song -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
That's exactly what I had to do as well. I wouldn't even start in rc.local unless I put in exactly what is shown below. Ed On Wed, 2 Jul 2003, Todd O'Bryan wrote: Do what it says: cd /usr/local/mysql ./bin/mysqld_safe and see if that's any better. Todd On Wednesday, July 2, 2003, at 05:18 PM, [EMAIL PROTECTED] wrote: Hi, I got the following message when trying to start the mysql instance: $ mysqld_safe [1] 22717 $ The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. --- Can anyone help me to resolve this? It is emergency. Regards, song -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Todd, It didn't help. Here is the message: $ cd /usr/local/mysql $ ./bin/mysqld_safe The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. $ --- It worked fine until yesterday. SA told me he had rebuilt /user/local directory this morning. All the files are still there after the build. Actually I have two versions of mysql. I would like to start mysqld using different version of mysql that I installed in a different location. I wonder where the path '/usr/local/mysql/libexec/mysqld' stored in the system. Can we change this path somewhere in the parameter file? Thanks, song -Original Message- From: Todd O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:56 PM To: Xu, Song PH/US/EXT Cc: [EMAIL PROTECTED] Subject: Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Do what it says: cd /usr/local/mysql ./bin/mysqld_safe and see if that's any better. Todd On Wednesday, July 2, 2003, at 05:18 PM, [EMAIL PROTECTED] wrote: Hi, I got the following message when trying to start the mysql instance: $ mysqld_safe [1] 22717 $ The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. --- Can anyone help me to resolve this? It is emergency. Regards, song -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
I think mysqld_safe is just a shell script, so you might be able to go through there and see if you can find where /usr/local/mysql is defined. On the other hand, I just looked, and it looks like it's smart enough to figure out if you've moved the installation directory. Try cd-ing to the place where your new version is and type ./bin/mysqld_safe. That may not work, because another copy of mysql may already be running somewhere. Something else to check: make sure mysqld is executable by doing a ls -l on the directory it's in. We're far past my knowledge at this point (actually, we were at the limit of my knowledge when I told you to try cd-ing and re-typing the command) and I'm just throwing out possibilities... Todd On Wednesday, July 2, 2003, at 08:57 PM, [EMAIL PROTECTED] wrote: Todd, It didn't help. Here is the message: $ cd /usr/local/mysql $ ./bin/mysqld_safe The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. $ --- It worked fine until yesterday. SA told me he had rebuilt /user/local directory this morning. All the files are still there after the build. Actually I have two versions of mysql. I would like to start mysqld using different version of mysql that I installed in a different location. I wonder where the path '/usr/local/mysql/libexec/mysqld' stored in the system. Can we change this path somewhere in the parameter file? Thanks, song -Original Message- From: Todd O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:56 PM To: Xu, Song PH/US/EXT Cc: [EMAIL PROTECTED] Subject: Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Do what it says: cd /usr/local/mysql ./bin/mysqld_safe and see if that's any better. Todd On Wednesday, July 2, 2003, at 05:18 PM, [EMAIL PROTECTED] wrote: Hi, I got the following message when trying to start the mysql instance: $ mysqld_safe [1] 22717 $ The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. --- Can anyone help me to resolve this? It is emergency. Regards, song -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
In general, you can simply search for the location of mysqld (perhaps using a utility like find). Once you find the file, make sure that it has execute permissions. Then, run mysqld_safe from the directory containing mysqld, as the error message suggests. - Original Message - From: harsh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 2:41 PM Subject: Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable I found that file in /usr/libexec/mysqld hope that helps -- harsh http://www.cse.iitb.ac.in/~harsh -- On Wed, 2 Jul 2003 [EMAIL PROTECTED] wrote: Hi, I got the following message when trying to start the mysql instance: $ mysqld_safe [1] 22717 $ The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. --- Can anyone help me to resolve this? It is emergency. Regards, song -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
At 20:57 -0400 7/2/03, [EMAIL PROTECTED] wrote: Todd, It didn't help. Here is the message: $ cd /usr/local/mysql $ ./bin/mysqld_safe The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. $ --- It worked fine until yesterday. SA told me he had rebuilt /user/local directory this morning. All the files are still there after the build. I'm surprised that you didn't consider this information relevant, and that you only just now tell us this after several messages. It seems most likely that the reason MySQL no longer starts properly is that your SA broke something. In particular, it's likely that the server was located at /usr/local/mysql/libexec/mysqld and that it has been deleted. Actually I have two versions of mysql. I would like to start mysqld using different version of mysql that I installed in a different location. I wonder where the path '/usr/local/mysql/libexec/mysqld' stored in the system. Can we change this path somewhere in the parameter file? That's the path where mysqld_safe is expecting to find the server. If it's stored somewhere else, say /usr/sbin/mysqld, you can specify the --ledir argument to mysqld_safe to indicate the directory where the server is. For example, you can put this in /etc/my.cnf: [mysqld_safe] ledir==/usr/sbin Then run mysqld_safe again and it should attempt to execute /usr/sbin/mysqld. Thanks, song -Original Message- From: Todd O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:56 PM To: Xu, Song PH/US/EXT Cc: [EMAIL PROTECTED] Subject: Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Do what it says: cd /usr/local/mysql ./bin/mysqld_safe and see if that's any better. Todd On Wednesday, July 2, 2003, at 05:18 PM, [EMAIL PROTECTED] wrote: Hi, I got the following message when trying to start the mysql instance: $ mysqld_safe [1] 22717 $ The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe. --- Can anyone help me to resolve this? It is emergency. Regards, song -- Paul DuBois, Senior Technical Writer Madison, Wisconsin, USA MySQL AB, www.mysql.com Are you MySQL certified? http://www.mysql.com/certification/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]