|
i'm new to mysql,i wonder if you people advice me about how to connect remote database with mysql_connect('remotehost','uname','pwd');
remotehost= in many cases we include 'locahost',
but,what we need to include when we connect remote host database
it might be IP like either e.g '127.34.25,26' or 'mysql.somesite.com'
2. IF connecting via remote host which username/password need to be added
is it mysql username/password or any website cpanel username/password
please respond to my queries.i'm new to mysql/php
your feedback important to me
|