chciałem zacząć "bawić" się MySQL-em ale natrafiłem już na samym początku na problem
mam zainstalowany Krasnal serwer wszystko chodzi OK PHP działa i wszystko byłoby dobrze gdyby nie to że nie mogę niczego zrobić w MySQL-u
narazie robię coś takiego
Kod
C:\usr\mysql\bin>mysql
Welcome to the MySQL monitor. Commands end with; or \g.
Your MySQL connection id is 6 to server version: 3.23.58-max-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database bobas;
ERROR 1044: Access denied for user: '@localhost' to database 'bobas'
mysql>
Welcome to the MySQL monitor. Commands end with; or \g.
Your MySQL connection id is 6 to server version: 3.23.58-max-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database bobas;
ERROR 1044: Access denied for user: '@localhost' to database 'bobas'
mysql>
i nic nie wiem co to za błąd i co się z tym robi
próbowałem znaleźć coś w necie ale tam pisze tylko tyle że najprawdopodobniej użytkownik na którego jestem zalogowany nie ma uprawnień do tworzenia baz itd jeśli zaloguję się jako użytkownik root
Kod
C:\usr\mysql\bin>mysql -u root;
Welcome to the MySQL monitor. Commands end with; or \g.
Your MySQL connection id is 7 to server version: 3.23.58-max-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database bobas;
ERROR 1044: Access denied for user: '@localhost' to database 'bobas'
mysql>
Welcome to the MySQL monitor. Commands end with; or \g.
Your MySQL connection id is 7 to server version: 3.23.58-max-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database bobas;
ERROR 1044: Access denied for user: '@localhost' to database 'bobas'
mysql>
wychodzi to samo a nie mogę stworzyć innego użytkownika bo
Kod
C:\usr\mysql\bin>mysql
Welcome to the MySQL monitor. Commands end with; or \g.
Your MySQL connection id is 8 to server version: 3.23.58-max-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> grant all on * to nowyuser identified by 'nowyuser1';
ERROR 1045: Access denied for user: '@localhost' (Using password: NIE)
mysql>
Welcome to the MySQL monitor. Commands end with; or \g.
Your MySQL connection id is 8 to server version: 3.23.58-max-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> grant all on * to nowyuser identified by 'nowyuser1';
ERROR 1045: Access denied for user: '@localhost' (Using password: NIE)
mysql>
proszę o podpowiedź co mam robić gdzie robię błąd i jak stworzyć bazę i użtykowników
pozdrawiam
klimba