5й абилс + mysql 5.1 = дубликат 'localhost-abills-abills'
Добавлено: Пн сен 13, 2010 5:53 pm
Код: Выделить всё
radist# mysql --default-character-set=cp1251 -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 407
Server version: 5.1.49 FreeBSD port: mysql-server-5.1.49
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use mysql;
Database changed
mysql> INSERT INTO user (Host, User, Password)
-> VALUES ('localhost','abills', password('***********'));
Query OK, 1 row affected, 3 warnings (0.00 sec)
mysql> INSERT INTO db (Host, Db, User, Select_priv, Insert_priv, Update_priv,
-> Delete_priv, Create_priv, Drop_priv, Index_priv, Alter_priv,
-> Lock_tables_priv, Create_tmp_table_priv, Create_view_priv,
-> Show_view_priv, Execute_priv, Event_priv, Trigger_priv)
-> VALUES ('localhost', 'abills', 'abills', 'Y', 'Y', 'Y', 'Y', 'Y',
-> 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y');
ERROR 1062 (23000): Duplicate entry 'localhost-abills-abills' for key 'PRIMARY'
удалил с помощью webmin бд abills и юзера abills
юзера создал... а вот бд не создается:(
что тут делать?