|
|||
|
After upgrading to VPS 3, I chose the Fedora LAMP install, after the installation everything looks good, except when I try to run MySQL in any way, I get:
Code:
[root@rudedwarf mysql]# mysql -u root ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) You can check out my phpinfo file here, if that helps: www.eternalheroes.org/info.php Thanks for any help you can give! |
|
|||
|
i don't know about those default installations but maybe it just didn't created the mysql table, try to start it with '/etc/init.d/mysql start' and then follow the instructions when it complains
__________________
pablasso.com (spanish) |
|
|||
|
Quote:
awesome, i got it: [root@rudedwarf init.d]# ./mysqld start that did it! thanks guys for the help, much appreciated
|
|
|||
|
I think that the Fedora LAMP install doesn't have mysql turned on by default. You can check this by typing chkconfig --list on the command line. Look for the line that lists mysql to see if its turned on. If you want to have it turn on automatically you can enter chkconfig --level <level> mysqld on. Substituting <level> with the appropriate runlevel for your server.
__________________
Andrew VSPLink Support |
|
|||
|
Quote:
Try using the full path: /sbin/chkconfig Otherwise install it with yum Code:
yum install chkconfig
__________________
The Universes - Server Management, Hosting, & Consulting |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|