Thrillseeker TS
Registered
I installed MySQL about a month or 2 ago, right after I got Panther, and last night I set up phpBB and made the forums all prettyful. Then I was watching a video that I downloaded, and the WMV file caused my computer to hang. While trying to bring up the Force Quit menu, I accidentally force restarted it. After it rebooted, I wasn't able to go to the boards; there was an error saying it couldn't connect to the MySQL database. I went into Terminal to try and start it up again, but got this error:
Code:
/usr/local/mysql/bin/mysqladmin
/usr/local/mysql/bin/mysqladmin Ver 8.40 Distrib 4.0.16, for apple-darwin6.6 on powerpc
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Administration program for the mysqld daemon.
Usage: /usr/local/mysql/bin/mysqladmin [OPTIONS] command command....
{commands not important now}
Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- -----------------------------
count 0
force FALSE
compress FALSE
character-sets-dir (No default value)
host (No default value)
port 0
relative FALSE
socket (No default value)
sleep 0
user (No default value)
verbose FALSE
vertical FALSE
connect_timeout 43200
shutdown_timeout 3600
Default options are read from the following files in the given order:
/etc/my.cnf /usr/local/mysql/data/my.cnf ~/.my.cnf
The following groups are read: mysqladmin client
{codes taken out}
[Mustang:~] ericpete% /usr/local/mysql/bin/mysql -u root -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)