dreamweaver to my MySql server. Each time I receive the message ''an
unidentified error has occurred''.
I can use pure php code to create a connection successfully:
%26lt;?php
$username = ''root'';
$password = ''password'';
$hostname = ''localhost'';
$dbh = mysql_connect($hostname, $username, $password)
or die(''Unable to connect to mysql'');
print ''connected to mysql%26lt;br%26gt;'';
$selected = mysql_select_db(''test'',$dbh)
or die(''Could not select first_test'');
if (mysql_query(''insert into test_table values('5')'')) {
print ''successfully inserted record'';
}
else {
print ''Failed to insert record'';
}
mysql_close($dbh);
?%26gt;
This works, I can successfully insert a record. However, if I
try and create a connection in Dreamweaver with these same
variables, I receive the message ''an unidentified error has
occurred''. I have tried, deleting the _mm connection scripts folder
and recreating them. I have used the mx2004 updater, I have tried
all document types... nothing seems to work...
any suggestions?
No comments:
Post a Comment