Backup Problem with Mysql

DaNgErOuS

Verified User
Joined
Sep 19, 2010
Messages
60
i installed DA with custombuild 1.2 but when i want backup to all my users i see this error :

Error connecting to MySQL: Access denied for user 'da_admin'@'localhost' (using password: YES)
<b>Repair guide: <a target=_blank href='http://help.directadmin.com/item.php?id=45'>http://help.directadmin.com/item.php?id=45</a></b>

and when i try this guid step by step i dont solve the problem .
when i try step 1 in this guid in cant use mysql command
see the error :
[root@Server /]# /etc/init.d/mysqld stop
Shutting down MySQL. SUCCESS!
[root@Server /]# mysqld_safe --skip-grant-tables &
[1] 13591
[root@Server /]# 130102 02:15:46 mysqld_safe Logging to '/var/lib/mysql/Server.domain.com.err'.
130102 02:15:46 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

i dont see any thing (Like Mysql prompt) and when i try with step 2 in this part i see this error :
[root@Server /]# /etc/init.d/mysqld stop
Shutting down MySQL. SUCCESS!
[root@Server /]# mysqld_safe --skip-grant-tables &
[1] 13591
[root@Server /]# 130102 02:15:46 mysqld_safe Logging to '/var/lib/mysql/Server.domain.com.err'.
130102 02:15:46 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
use mysql
-bash: use: command not found

[root@Server /]# UPDATE mysql.user SET password=PASSWORD('100800500ws') WHERE user='root';
-bash: syntax error near unexpected token `('
[root@Server /]# FLUSH PRIVILEGES;
-bash: FLUSH: command not found

[root@Server /]# quit

how can i use the use mysql command ?

how can i use this guid ?
tnx
 
You have to open the mysql command prompt first.

Code:
mysql -u root
 
Back
Top