|
|
ВНИМАНИЕ: Използвайте форумите на сайта за дa зададете вашите въпроси.
Въпрос |
От: Ivan Boinov (iv_b __@__ abv __точка__ bg) |
Дата: 02/26/2006 |
Здравейте, мммм иамам едно малко проблемче, забравих си
парролата на MYSQL-a , и нз как да го оправа без да го
преинсталирам :( ако може да ми кажете как ;)
На slackware 10.2 съм :0
|
Отговор #1 |
От: stok4o |
Дата: 02/27/2006 |
[root@host root]#killall mysqld
[root@host root]#/usr/libexec/mysqld -Sg --user=root &
You may have better luck with:
mysqld --skip-grant-tables --user=root
Go back into MySQL with the client:
[root@host root]# mysql
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 1 to server version: 3.23.41
Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql> USE mysql
Reading table information for completion of table and column
names
You can turn off this feature to get a quicker startup with
-A
Database changed
mysql> UPDATE user
-> SET password=password("newpassword")
-> WHERE user="root";
Query OK, 2 rows affected (0.04 sec)
Rows matched: 2 Changed: 2 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> exit;
[root@host root]#killall mysqld
|
Отговор #2 |
От: Ivan |
Дата: 02/27/2006 |
/usr/libexec/mysqld -Sg --user=root &
[2] 24818
[1] Exit 127 ]#/usr/libexec/mysqld -Sg
--user=root
060227 15:59:51 [ERROR] /usr/libexec/mysqld: unknown option
'-S'
i sega ....
|
Отговор #3 |
От: Ivan |
Дата: 02/27/2006 |
root@slackware:~# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user
'root'@'localhost' (using password: YES)
mn qko da nesi znaesh parolata...
|
Отговор #4 |
От: stok |
Дата: 02/27/2006 |
Sega:
mysqld --skip-grant-tables --user=root
|
<< amaroK (0
) | Zamenqne na niz v bash script (1
) >>
|
|
|
|
|