I log into the mysql monitor as root, to practice using it. The registration page on my future website will need to connect to the mysql database to insert the information each customer gives it.
I started to write a php script that would use mysql_connect and a few other functions to give customers, who go to my future registration page, access to the database. I got a lot of errors.
I log into the monitor as root. That is not the user the registration page will be. What mysql user do I put into the mysql_connect() function - to give those who log onto the registration page of my site access to the mysql database, so they can insert their information?
Does this user go into /etc/my.cnf somewhere to let mysql know there is a user other than root?