Loading ...
Sorry, an error occurred while loading the content.

1358i have problem in connecting sql server... help me..

Expand Messages
  • arul_sreeyaa2006
    Jul 4, 2009
    • 0 Attachment
      Still i get a problem in connecting sql database in php.....my coding is
      $link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
      if (!$link) {
      die('Could not connect: ' . mysql_error());
      echo 'Connected successfully';
      the errors are

      Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql_user'@'localhost' (using password: YES) in C:\wamp\www\php\connect.php on line 2
      Could not connect: Access denied for user 'mysql_user'@'localhost' (using password: YES)

      .............help me.........
    • Show all 7 messages in this topic