note 63704 added to ref.mysql
| From: | jeremy dot david at quasar dot com dot pe | Date: | Tue, 28 Mar 2006 19:34:31 +0000 |
| Subject: | note 63704 added to ref.mysql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-106872@lists.php.net to get a copy of this message | ||
I've installed in my PC the "Apache HTTP Server 2.0.55", the "PHP 5" and
also the "MySQL 5.0". I've already edited the "PHP.INI" with the
information showed below:
extension=php_mysql.dll
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port = 3306
mysql.default_socket =
mysql.default_host = localhost
mysql.default_user = root
mysql.default_password =
But I couldn't make the PHP code works and it shows me the next message: "Access denied
for user 'SYSTEM'@'localhost' (using password: NO).
The parameters of my connection are:
$link = mysql_connect('localhost', 'root', 'Demo');
I've also tried through DOS command with: "MySQL -uroot -pDemo -hlocalhost" and it
works with no problem.
My PC's OS is: "Windows 2000 Pro SP 4". I'd like recieving some help about this
and tell me what's happening or what else it needs?
Thank you very much...
Jeremy David
----
Server IP: 66.163.161.117
Probable Submitter: 201.230.200.39
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.mysql.php
Edit -- http://master.php.net/note/edit/63704
Del: integrated -- http://master.php.net/note/delete/63704/integrated
Del: useless -- http://master.php.net/note/delete/63704/useless
Del: bad code -- http://master.php.net/note/delete/63704/bad+code
Del: spam -- http://master.php.net/note/delete/63704/spam
Del: non-english -- http://master.php.net/note/delete/63704/non-english
Del: in docs -- http://master.php.net/note/delete/63704/in+docs
Del: other reasons-- http://master.php.net/note/delete/63704
Reject -- http://master.php.net/note/reject/63704
Search -- http://master.php.net/manage/user-notes.php