Php mysql connection to the Cpanel db -
how connect cpanel db localhost. know connect localhost. need connect server. trying this
<?php mysql_connect("208.91.199.141","username","password") or die(mysql_error()); mysql_select_db("db"); ?>
i error
warning: mysql_connect() [function.mysql-connect]: access denied user 'glansade'@'49.206.54.187' (using password: yes) in c:\xampp\htdocs\calendar\db_server.php on line 2 access denied user 'glansade'@'49.206.54.187' (using password: yes).
how solve this....? please me. thanks
go remotemysql cpanel
you have add %.%
.
then able connect remote db.
Comments
Post a Comment