I setup MySQL under Panther last week, it's installed an working (see attachment 1), I can see it's running, and that databases exist in it. I can even install a forum package like IPB, or vB, and it will connect to the local MySQL Server and install itself and run with no problems.
I also have a couple of PHP files that are part of a tutorial I was running though, this is the code for them:
If I "run" these pages the data is entered into the database, again proof that everything is working properly.
But, I have a site setup in DW MX 2004 as a PHP MySQL site, and when I make a new connection (using the "wizard") I get this error (see attachment 2).
Any idea what's going on here? I know that MySQL is running, and I know it can be accessed. I don't know s*** about MySQL, so I'm totally confused by this.
I also have a couple of PHP files that are part of a tutorial I was running though, this is the code for them:
PHP:
$user="root";
$password="???????";
$database="DEV_DB";
mysql_connect(localhost,$user,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="CREATE TABLE ITSC_INTRANET (SCROLLER text)";
mysql_query($query);
mysql_close();
PHP:
$user="root";
$password="???????";
$database="DEV_DB";
mysql_connect(localhost,$user,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="INSERT INTO ITSC_INTRANET VALUES ('There are no alerts at present.')";
mysql_query($query);
mysql_close();
But, I have a site setup in DW MX 2004 as a PHP MySQL site, and when I make a new connection (using the "wizard") I get this error (see attachment 2).
Any idea what's going on here? I know that MySQL is running, and I know it can be accessed. I don't know s*** about MySQL, so I'm totally confused by this.