Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up mysql for the first time!

Status
Not open for further replies.

SPYDERIX

Technical User
Jan 11, 2002
1,899
CA
Hi,

I have just installed mysql on my machine for apache and I need to create a root user with a password and make it so that you can't login with user: root and pass: null and I want to be able to create users and passwords and only allow certain db's based on the user.

I have phpmyadmin and am familiar with inserting and deleting etc etc, but have never had to do this part, and I really need to know what to do. I am setting up PMA to cookie login but I need to set the user and pass for the root user as well as setup new accounts.

How do I do this?

I have been to phpmyadmin.net, php.net, mysql.com, and have checked my book, but everytime I try to change the password or create a new user I just get an error.

Thanks alot!
relax.gif

 
Hi,

I have figured out how to change my root password now and how the PMA structure works, but now I still don't see how I create a new user and pass in mysqladmin and what is host: % (do I need to keep those for hosts, or can I delete them?)

Thanks!
relax.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top