deleted
I need help! (MySQL Database script trouble)
also, my book makes the example by sending me to localhost, and i had to install mysql, open DOS, and make a user name and pasword to be admin, (flush privileges) and my websites control panel has a MYSQL database menu, and inside it says designingonweb_com database:
and gives a bunch of tables and stuff... so i made this script out of theory, cuz the book doesnt say how to do it online..... so i assumed that www.designingonweb.com (host) has mysql database in the root, and went from there....
someoneplease help!! i dunno how to get mysql to work online
how do i connect to it... someone link me to a tutorial
A suggestion...
$connection = @mysql_connect("www.designingonweb.com", "fred", "48884888")
or die("Couldn't connect to Mysql database!");
Check mysql.default_host via
<? phpinfo(); ?>
and replace www.designingonweb.com with that value.
It says no value to most of the things including the default host... what should i do??
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout -1 -1
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
Hi. As a guess, try replacing www.designingonweb.com with localhost, and of course make sure you are using your DB username and passowrd.