![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Server Platforms Discussion regarding any server based ubuntu release. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2005
Beans: 46
|
local mysql server
Hey, I am getting an error when I try and start mysql. The error is,
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) I had done something with the tutorial found here: http://www.howtoforge.com/perfect_setup_ubuntu_5.10 One of those pages I had to move some files and I think that's what's causing the problem. And there are no files in /var/run/mysqld/ please help me. |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2005
Beans: 4
|
Re: local mysql server
|
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2005
Beans: 46
|
Re: local mysql server
... that doesn't fix my problem, haha. That just gives me some other piece of software, I need mysql fixed not apache.
|
|
|
|
|
|
#4 |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2005
Beans: 129
Ubuntu 6.06 Dapper
|
Re: local mysql server
If there is no mysqld.sock, this means the MySQL server is not running.
Just take a look at the socket line in /etc/mysql/my.cnf, which tells you where the socket file must be. Just check out, if there is no socket file the server is not running. |
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2005
Beans: 46
|
Re: local mysql server
is there a way I can make a mysqld.sock file, or should I reinstall mysql
|
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() Join Date: Oct 2005
Beans: 129
Ubuntu 6.06 Dapper
|
Re: local mysql server
Just try and start the server, and it should make both mysqld.pid and mysqld.sock in /var/run/mysqld. To do that, just invoke the script mysqld_safe in /usr/bin.
Good luck. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|