budcolor Posted December 29, 2003 Share Posted December 29, 2003 Accdently i deleted localhost user,now i need to connect ,OR how to uninstall MYSQL in windowsXP(OS) ERROR:access denied for user=\'@localhost\' to database\'test\' Please give eamil :bud_color@yahoo.com thanks Quote Link to comment Share on other sites More sharing options...
Influx Posted December 30, 2003 Share Posted December 30, 2003 if you need to connect use this... [php:1:a7ebf38d4e] $host = \"localhost\"; $user = \"USER\"; $pass = \"PASSWORD\"; $db = \"DATABASE NAME\"; $connection = mysql_connect($host,$user,$pass); $base = mysql_select_db($db,$connection); [/php:1:a7ebf38d4e] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.