Quote:
Originally Posted by __md__
basically when i installed myphpadmin i never saw any prompts about user name and passwords it allowed me to start creating the databases straight away, also every time i open up myphpadmin it does not require me to login or anything like that.
|
This is because the username 'root' and password '' are hard coded into that config file so you will not need to be prompted to enter your username and password, phpMyAdmin will just connect.
Quote:
Originally Posted by __md__
The reason why i wanted to know what they both were was because in php code which is linked to both the flash file and the database your required to input weather your using a localhost or not and your username and password.
|
So you created another user and you tried using this user with the PHP file that is trying to connect to the database? What kind of error are you getting back from the connection code?
If it is something like "access denied for user@localhost" then it is a permissions problem and you need to look at the privileges u setup for that user.
I am not familiar with phpMyAdmin much more then using the SQL interface. I am more at home with a straight up MySQL client so I am not sure how you actually flush privs in phpMyAdmin it may be done automatically but someone else will have to explain that one or reference their documentation page.