Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i need how to connect remote server settings, for Clint side and server side settings.
please some one help me...

thanks in advance...
Posted
Comments
[no name] 6-Jul-13 7:05am    
http://dev.mysql.com/doc/index.html
Maciej Los 6-Jul-13 9:24am    
Please, post it as an answer.
Till now, virtual 5!

1 solution

In phpmyadmin .there is previliges option in the database,some fields are given below

user host password Globalprivileges Grant

pma localhost no USAGE no
root % no ALL PRIVILEGES yes
root localhost no ALL PRIVILEGES yes


$dbhost = '192.168.1.205:3306';
$dbuser = 'root';
$dbpass = '';
$conn = mysql_connect($dbhost, $dbuser, $dbpass);
if(! $conn )
{
die('Could not connect: ' . mysql_error());
}

?>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900