Jump to content

Recommended Posts

Posted

OK, so I installed MySQL 4.0.15, and whenever I try setting a password for it, for example:

username: gamehead

password: rocks

It keeps the default username and password:

username: root

password: (no password)

I deleted the "my.ini" file and then when I reopen MySQL, it asks me for a new username and password, so I put in the first one above, but it still stays as root...

Does anyone know how to fix this problem? :)


Posted

mysqladmin -u root password newpassword (from console)

You need first to insert (gamehead) new user into mysql database than make password for new user and grant privileges.

user root is owner and must be there

you can't change that

Posted
Oh yea, I forgot to mention that this is on a Windows server... :)

Same.

Go to dos prompt and type cd mysql/bin if you installed it in C:\ then type command I wrote in post above.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...