Jump to content


Photo

local host error


  • Please log in to reply
1 reply to this topic

#1 budcolor

budcolor
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 29 December 2003 - 07:20 PM

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 :idea:

#2 Influx

Influx
  • Members
  • Pip
  • Newbie
  • 2 posts
  • LocationCanada

Posted 30 December 2003 - 01:21 AM

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]
If it isn't broken or works, why fix it?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users