Hi,

I'm trying to configure MySQL and PHP so that PHP can access MySQL for
function calls and database access.  It's my understanding that I need to
use the command - "mysql_connect(<address>, <username>, <password>);"

I tried that and got a syntax error, I tried:

[root@www phpBB2]# mysql_connect(localhost, root, mypassword)
bash: syntax error near unexpected token `mysql_connect(localhost,'

Any ideas what I'm doing wrong here?

Thanx


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to