Hi,
I'm doing a site that is php4 to mysql 3. I can make a connection to mysql but only using mysql_connect("locahost", i.e. with NO username or password which obviously is a stupid thing to do. The way I manage my MYSQL databse is though phpmyadmin that was an application I received when I got my domain. I can't find anything in their documentation that tells you how to do add them. I am new to MYSQL and PHP so am finding it difficult. Has anyone had experience with this before?
To do it normally through the command line do you add a user to the user table in mysql database and then us the GRANT command to give that user access?
Thanks.
I'm doing a site that is php4 to mysql 3. I can make a connection to mysql but only using mysql_connect("locahost", i.e. with NO username or password which obviously is a stupid thing to do. The way I manage my MYSQL databse is though phpmyadmin that was an application I received when I got my domain. I can't find anything in their documentation that tells you how to do add them. I am new to MYSQL and PHP so am finding it difficult. Has anyone had experience with this before?
To do it normally through the command line do you add a user to the user table in mysql database and then us the GRANT command to give that user access?
Thanks.