Anne Arbor
10-16-2010, 01:36 PM
I've been using "root" as my user name and not using any password at all, when setting up a MySQL database just for learning purposes. I've been using PuTTY to create and work on my databases.
Now I'm ready to put up a registration page on the Net, and will want to have a mysql_connect statement in it. So now I need to have a real user name and to have an actual password.
My question is - how do I assign those to a database that already exists?
(For that matter, how do I assign them when I create a db in the first place?)
Now I'm ready to put up a registration page on the Net, and will want to have a mysql_connect statement in it. So now I need to have a real user name and to have an actual password.
My question is - how do I assign those to a database that already exists?
(For that matter, how do I assign them when I create a db in the first place?)