GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   mysql help please (https://gfy.com/showthread.php?t=502239)

Mr Pheer 08-11-2005 12:23 AM

mysql help please
 
i got it installed but it wont start... any ideas?

woj 08-11-2005 12:24 AM

What error messages do you get? (if any)

darksoul 08-11-2005 12:24 AM

no

8char

Mr Pheer 08-11-2005 12:26 AM

/usr/local/bin/mysqld_safe &
[2] 44131
[1] Exit 1 /usr/local/bin/safe_mysqld
sly# touch: /var/db/mysql/sly.splitinfinity.net.err: No such file or directory
chown: /var/db/mysql/sly.splitinfinity.net.err: No such file or directory
Starting mysqld daemon with databases from /var/db/mysql
/usr/local/bin/mysqld_safe: cannot create /var/db/mysql/sly.splitinfinity.net.err: No such file or directory

darksoul 08-11-2005 12:28 AM

chown -R mysql:mysql /var/db/mysql

Mr Pheer 08-11-2005 12:32 AM

sly# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Mr Pheer 08-11-2005 12:33 AM

mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

pronwatcher 08-11-2005 12:41 AM

starting with the wrong permissions?
 
I usually do something like /usr/local/bin/safe_mysqld --user=mysql

Do a "ps -aux |grep mysq" to verify it is running -- then you should be able to do mysql -p to login (if you have a password set for your mysql user)

Mr Pheer 08-11-2005 12:45 AM

Quote:

Originally Posted by pronwatcher
I usually do something like /usr/local/bin/safe_mysqld --user=mysql

Do a "ps -aux |grep mysq" to verify it is running -- then you should be able to do mysql -p to login (if you have a password set for your mysql user)

sly# /usr/local/bin/mysqld_safe --user=mysql
touch: /var/db/mysql/sly.splitinfinity.net.err: No such file or directory
chown: /var/db/mysql/sly.splitinfinity.net.err: No such file or directory
Starting mysqld daemon with databases from /var/db/mysql
/usr/local/bin/mysqld_safe: cannot create /var/db/mysql/sly.splitinfinity.net.err: No such file or directory

same thing :(

Mr Pheer 08-11-2005 12:46 AM

sly# ps -aux |grep mysq
root 44208 0.0 0.0 348 232 p0 R+ 3:50PM 0:00.00 grep mysq

OzMan 08-11-2005 12:49 AM

I usually press the "create a database" button in CPanel :upsidedow

...This site talks about that error and some possible solutions

http://dev.mysql.com/doc/mysql/en/ca...to-server.html

Mr Pheer 08-11-2005 12:50 AM

Quote:

Originally Posted by OzMan
I usually press the "create a database" button in CPanel :upsidedow

...This site talks about that error and some possible solutions

http://dev.mysql.com/doc/mysql/en/ca...to-server.html


i have webmin but it cant start mysql either.. cant make a database if it wont start :Oh crap

Mr Pheer 08-11-2005 01:02 AM

screw it... i'm done with it

thanks for the help anyway

Hornydog4cooter 08-11-2005 01:04 AM

:1orglaugh sorry man

TexasDreams 08-11-2005 01:05 AM

Quote:

Originally Posted by MrPheer
i got it installed but it wont start... any ideas?

If you just did the install it may be that it failed at some point and didn't create the core database correctly. Have you tried a re-install?

Serge Litehead 08-11-2005 01:15 AM

did you do this:
Quote:

Originally Posted by darksoul
chown -R mysql:mysql /var/db/mysql


http://dev.mysql.com/doc/mysql/en/in...ng-binary.html
http://dev.mysql.com/doc/mysql/en/in...ng-source.html


All times are GMT -7. The time now is 07:31 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123