Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

2003-06-21 Thread Stephen
Dreamweaver uses pconnect by default, so if you want to use the more standard connect, just delete the p from the code! More can be found at http://uk.php.net/manual/en/function.mysql-connect.php I suggest using the manual whenever you have a problem. At first, it might seem quite confusing but o

Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

2003-06-20 Thread Ildiko Nyari
Thank you. I have entered the variables and seems to be OK. THANKS. Why do you think that I have put the put the password into the php.ini file? And where can I define the type of connection? I just sad make mysql connection, and it was created as pconnect. How do I make mysql_connect? Where? TH

Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

2003-06-20 Thread Stephen
No, you misunderstand. You have mysql_pconnect($hostname_storeunclesam, $username_storeunclesam, $password_storeunclesam) but there is no value to the variables so what you are actually doing is mysql_pconnect( , , ) You need to define the variables before calling the function like so: $hostname_

Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

2003-06-20 Thread Ildiko Nyari
Thanks, I have the username and password entered in mySQL for that specific table and also in the php file at $username_storeunclesam so on, the same username and password, however I have this ODBC issue. What else might be wrong? THANKS. ildiko - Original Message - From: "Stephe

Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

2003-06-20 Thread Stephen
ODBC I believe is the default connection name when none is specified. You have the code mysql_pconnect($hostname_storeunclesam, $username_storeunclesam, $password_storeunclesam), but have you set a value to all the variables? You need to set $username_storeunclesam and $password_storeunclesam to th

Re: [PHP-WIN] Access denied for user: 'ODBC@127.0.0.1'. Dreamweaver MX

2003-06-20 Thread christian astrup bakke // chasm
this is a mailinglist for php*, not mysql. -- with best regards, christian astrup bakke // chasm www.chasm.nu [EMAIL PROTECTED] [note: this mail is scanned with norton antivirus 2003] - Original Message - From: "Ildiko Nyari" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Ju