Forum Moderators: coopster
looks something like this:
//Setting the constants
define ('DB_USER', 'user');
define ('DB_PASSWORD', 'pass');
define ('DB_HOST', 'localhost');
define ('DB_NAME', 'myDB');
$dbc = @mysql_connect (DB_HOST, DB_USER, DB_PASSWORD);
mysql_select_db (DB_NAME);
Plus, you'll need to set permissions for 'user' with the GRANT command. Search your PC for plain old mysql.exe and run that (that's where I get all my work done). Forget phpmyadmin!