Softaculous


Topic : mysqld commandline option error


Posted By: ijusthaveaquestion on January 31, 2012, 4:17 pm
Using the Control Panel to "restart" mysql results in this in the mysql error log:

120131 10:51:21 [ERROR] /Applications/AMPPS/mysql/bin/mysqld: unknown option '--skip-locking'
120131 10:51:21 [ERROR] Aborting

Where is the script that the Control Panel runs? For example, there is 'apachectl' for Apache.

Posted By: ketan on February 1, 2012, 6:29 am | Post: 1
Hi,

Is MySQL started ? Can you see that the green color of MySQL start button is disabled ?

Can you please open a ticket so that we solve this issue as soon as possible.

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+

Posted By: ijusthaveaquestion on February 3, 2012, 7:45 pm | Post: 2
Mysql is not started; the green button is dimmed and does not highlight when hovered. Which is weird because both Stop and Restart buttons are clickable.

I will start a ticket soon. Thank you.

(In the mean time, is there a shell script that starts Mysql, like the one, apachectl, that starts Apache?)


Posted By: tidus on February 6, 2012, 7:07 am | Post: 3
Hi,

>>Mysql is not started; the green button is dimmed and does not highlight
when hovered. Which is weird because both Stop and Restart buttons are
clickable.

Sir your MySQL is working. Since it has already started you cannot start it again. So the green button is dimmed and not clickable. And when you Stop it, the red button will get dimmed and not clickable then you will be able to Start MySQL again.

>> (In the mean time, is there a shell script that starts Mysql, like the one, apachectl, that starts Apache?)

MySQL doesn't have a script like apachectl but by just typing the following command in Terminal with proper options mysql server can be started easily.
Code
/Applications/AMPPS/mysql/bin/mysqld


For Options/Help:
Code
/Applications/AMPPS/mysql/bin/mysqld --verbose --help


Also you should use --skip-external-locking instead of --skip-locking or use Default Configuration of AMPPS MySQL.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.