Quote:
root@vps2 [/]# service mysql start Starting MySQL ERROR! Couldn't find MySQL manager (/usr/local/bin/mysqlmanager) or server (/usr/local/bin/mysqld_safe) Please guide me. |
mysql daemon is started using the command
Quote:
|
Quote:
root@vps2 [/]# service mysqld start mysqld: unrecognized service Tell me what should I do now? |
Quote:
I have found these errors... root@vps2 [/etc]# service mysqld start mysqld: unrecognized service root@vps2 [/etc]# service mysql start Starting MySQL ERROR! Couldn't find MySQL manager (/usr/local/bin/mysqlmanager) or server (/usr/local/bin/mysqld_safe) root@vps2 [/etc]# /etc/init.d/mysql start Starting MySQL ERROR! Couldn't find MySQL manager (/usr/local/bin/mysqlmanager) or server (/usr/local/bin/mysqld_safe) root@vps2 [/etc]# /etc/init.d/mysqld start -bash: /etc/init.d/mysqld: No such file or directory root@vps2 [/etc]# /etc/init.d/mysql.server start Starting MySQL. SUCCESS! It says Success but it doesnt really started I cannot access mysql command see this: root@vps2 [/etc]# mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) mysql.sock does not exist in /tmp. even mysql.sock does not exist anywhere..what should I do now? |
What output does command rpm -qa|grep mysql gives?
On my computer, it shows Quote:
|
Quote:
------------------------------------------------------------------------- root@vps2 [/]# rpm -qa|grep mysql root@vps2 [/]# ------------------------------------------------------------------------- |
^Means mysql isn't installed properly.
|
Quote:
Thanks anyway..:) |
Quote:
1, I have to mention full path to start mysql i.e. /usr/local/mysql/bin/mysql -u root -p Why I have to use full path? 2, MySQL automatically TERMINATE in less than a minute. Please guide me. Thanks in advance..:) |
^You didn't mention that you got any SELinux message. Next time onwards, provide all symptoms of your problem to get a speedy solution.
|
smaj84_1 ... I merged 3 of your closely related threads,
and ask you to not do this again in the future. Stick with one thread if the problem relate to one issue. Should I see you doing this again I'll just close your dupes, and set a link to the existing threads in the closure notice. Cheers, Tink |
Quote:
|
All times are GMT -5. The time now is 02:24 PM. |