Results 1 to 1 of 1
-
7th Dec 2009, 10:08 PM #1OPMemberWebsite's:
Wrestle-Zone.net Media-Zone.netDirect Admin + Mysql + 2002 Error
I just spent an hour on this and post this here as a reference so if someone needs or myself..
OS: Deb Lenny
Error was 2002 Mysql cannot connect.
What i did.
/etc/mysql/my.cnf rename it to my.cnf.bk
then /etc/init.d/mysqld start
once there the mysql server started but needed a new password for root.
Next you execute
Code:mysql --user=`grep "^user=" /usr/local/directadmin/conf/mysql.conf | cut -d= -f2` --password=`grep "^passwd=" /usr/local/directadmin/conf/mysql.conf | cut -d= -f2` use mysql; UPDATE user SET password=PASSWORD('newpass') WHERE user='root'; FLUSH PRIVILEGES; quit
I guess..EvilGenius Reviewed by EvilGenius on . Direct Admin + Mysql + 2002 Error I just spent an hour on this and post this here as a reference so if someone needs or myself.. OS: Deb Lenny Error was 2002 Mysql cannot connect. What i did. /etc/mysql/my.cnf rename it to my.cnf.bk Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Buying] direct admin
By Black Tiger in forum ServicesReplies: 0Last Post: 24th Oct 2012, 06:57 AM -
MYSQL Error while Import via MYSQL Dumper (Error
By desibreaker in forum Server ManagementReplies: 10Last Post: 5th Aug 2011, 07:26 PM -
Direct Admin License
By _Hosting_ in forum Hosting DiscussionReplies: 2Last Post: 3rd Jun 2011, 07:29 AM -
kloxo vs direct admin
By kapil441 in forum Webmaster DiscussionReplies: 3Last Post: 3rd May 2011, 11:34 AM -
Direct Admin Licence?
By tommyboy in forum Hosting DiscussionReplies: 12Last Post: 24th Jan 2010, 03:02 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...