This forum is no longer active. Please post your questions to our new community site
lamstack, Problem starting mysql
|
|
root@testpig:/home/maal11/lampstack-1.2-0# ./ctlscript.sh start mysql |
|
|
Hi, Probably you installed the stack as “maal11” user. Try to start the servers using this user and not using the root user. |
|
|
HI beltran, When i am trying to use the mysql inside the lampstack, it is not taking the mysql inside the stack instead using the /tmp/mysql.sock, so what i did is created a soft link to the mysql inside stack(../lampstack/mysql/tmp/mysql.sock) to /tmp/mysql.sock which is working fine. but i think this is a hack and not a good procedure. So can you please specify how to make use of mysql of lampstack without this roundabout procedure of creating a lampstack. Because this soft link creation process may hamper the mysql running in the system. |
|
|
I have installed LampStack in /tmp/lamp. 1. You do not have to specify the socket parameter because mysql is linked to the special wrapper which uses default mysql config /tmp/lamp/mysql/my.cnf. $ /tmp/lamp/mysql/bin/mysql -u root -p 2. If you do not want to use the full path then LampStack console script will help you $ /tmp/lamp/use_lampstack or you can just modify the PATH environment variable manually: $ export PATH=“/tmp/lamp/mysql/bin:$PATH” I hope it will help. Regards, |

