MySQL Forums
Forum List  »  PHP

Re: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'dom'@'localhost' (using password: YES)
Posted by: James Holmes
Date: May 14, 2008 12:21AM

ok now that was worked out. now im getting this message...

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insertSQL' at line 1

i tried a few things but none of them seem to work.

$conn = mysql_connect( 'LOCALHOST', 'jrproduc', 'asia24.' ) or die( mysql_error() );
mysql_select_db( jrproduc_dommailinglist ) or die( mysql_error() );
$result = mysql_query( insertSQL, $conn ) or die( mysql_error() ); }


please advise

James

Options: ReplyQuote


Subject
Written By
Posted
Re: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'dom'@'localhost' (using password: YES)
May 14, 2008 12:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.