This forum is no longer active. Please post your questions to our new community site
Mysql error while installing rubystack
|
|
Hi, ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/media/disk/bloglearn/deployment/rubystack/mysql/tmp/mysql.sock’ (2) I have given mysql port as 3307. |
|
|
Hi, Could you post your Operating System? Do you have any firewall enabled? |
|
|
Thanks beltran for your reply. The operating system is ubuntu. its a remote server…… i access it through putty. I am not sure about firewall, this is an organization server, I think firewall is enabled. |
|
|
Hi, It seems that you are trying to install in a mounted folder “/media/disk”. It is possible that this mounted disk has not a etx3 format so it could have problems with users privileges. Try to install in the same operating system disk. Once the Stack is running you can move the folder to a mounted disk and create a symlink. |
|
|
Hi, The media is of type ext3 and it is installed on same operating system. Can you please specify other causes for this problem. |
|
|
Could you post the /mysql/data/mysqld.log file? |
|
|
100901 12:32:23 mysqld_safe Starting mysqld.bin daemon with databases from /media/disk/bloglearn/deployment/rubystack/mysql/data 100901 12:32:23 [Note] /media/disk/bloglearn/deployment/rubystack/mysql/bin/mysqld.bin: Shutdown complete 100901 12:32:23 mysqld_safe mysqld from pid file /media/disk/bloglearn/deployment/rubystack/mysql/data/grid0-37-f3-09.cust43.cloud.*.com.pid ended 100901 14:11:18 [Note] /media/disk/bloglearn/deployment/rubystack/mysql/bin/mysqld.bin: Shutdown complete 100901 14:11:18 mysqld_safe mysqld from pid file /media/disk/bloglearn/deployment/rubystack/mysql/data/grid0-37-f3-09.cust43.cloud.**.com.pid ended 100901 14:13:20 [Note] /media/disk/bloglearn/deployment/rubystack/mysql/bin/mysqld.bin: Shutdown complete 100901 14:13:20 mysqld_safe mysqld from pid file /media/disk/bloglearn/deployment/rubystack/mysql/data/grid0-37-f3-09.cust43.cloud.*.com.pid ended |
|
|
Hi, Could you check if the /media/disk/bloglearn/deployment/rubystack/mysql/tmp/ folder exists? Could you check the owner/group of this folder? |
|
|
Hi, mysql/tmp folder exists but it is empty.mysql.sock file does not exist. I am actually doing bitnami installation from root user, so it has read write permissions for every folder. |
|
|
I have checked the folder permissions again i am getting same error. bash-3.2# mysql -u root -p |
|
|
Hi, It seems that the problem is installing in a media disk. Not sure what is your configuration. Could you install in a different location? |

