Jump to content

aboutera

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

aboutera's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. could you explain more please ? how to check these credentials? thank you
  2. This is a code to create a database <?php $con = mysql_connect("localhost","peter","abc123"); if (!$con) { die('Could not connect: ' . mysql_error()); } if (mysql_query("CREATE DATABASE my_db",$con)) { echo "Database created"; } else { echo "Error creating database: " . mysql_error(); } mysql_close($con); ?> and that is the error I am getting : Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'peter'@'localhost' (using password: YES) in C:\wamp\www\New folder\iji.php on line 2 Could not connect: Access denied for user 'peter'@'localhost' (using password: YES) Please help
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.