Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting up MySQL  RSS feed

 
John Losty
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed MySQL(server, workbench...)
I tried to change my root password with [code=sql]mysqladmin -u root password "new_password";[/sql]
but I got an error.

After that I was able to login to the server with the password I set up with previous command
but was unable to run any other commands as you can see on the picture. How can I fix this?
 
Paul Clapham
Sheriff
Posts: 22681
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So were you unable to use the ALTER USER command as well? Your screenshot didn't show that.
 
John Losty
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I allready switched to MariaDB.
 
chamini prashakthi
Ranch Hand
Posts: 127
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hope this link will help you.Go and check
https://dev.mysql.com/doc/refman/5.6/en/alter-user.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!