note 30513 added to function.mysql-connect
| From: | gbande at grange dot cl | Date: | Thu, 20 Mar 2003 19:08:36 +0000 |
| Subject: | note 30513 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45566@lists.php.net to get a copy of this message | ||
I'm trying to connect to my_sql using the basic php method to connect but I get this problem
all the time...
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'admin@GBANDE'
(Using password: YES) in C:\Archivos de programa\Apache Group\Apache2\htdocs\mysqlconnect.php on
line 2
Whats wrong...
<?php
$conn + mysql_connect("localhost", "user", "password");
echo "$conn";
?>
help
--
http://www.php.net/manual/en/function.mysql-connect.php
http://master.php.net/manage/user-notes.php?action=edit+30513
http://master.php.net/manage/user-notes.php?action=delete+30513
http://master.php.net/manage/user-notes.php?action=reject+30513