note 112927 deleted from function.mysql-connect by peehaa
| From: | peehaa@php.net | Date: | Thu, 08 Aug 2013 11:48:07 +0000 |
| Subject: | note 112927 deleted from function.mysql-connect by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195912@lists.php.net to get a copy of this message | ||
Note Submitter: maxil dot vamsi at gmail dot com
----
If i want to connect server db..how to connect?
i am using like this
<?php
mysql_connect("208.91.199.141","xxx","xxxx") or die(mysql_error());
mysql_select_db("db") or die(mysql_error());
?>
i am getting an Error
Warning: mysql_connect() [function.mysql-connect]: Access denied for user
'glansade'@'49.206.54.187' (using password: YES) in
C:\xampp\htdocs\calendar\db_server.php on line 2
Access denied for user 'glansade'@'49.206.54.187' (using password: YES)
Please help me.