brucewin
Posts: 143
|
| Posted: 11/24/2005, 12:24 PM |
|
PHP,MySql on Appace server on my desktop. Can't connect to the database. Anyone know what to do? I am using the default of no passwords for now.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files\xampp\htdocs\jbm1\db_mysql.php on line 99
Database error: cannot connect to Database Access denied for user 'ODBC'@'localhost' (using password: NO)
MySQL Error
Session halted
|
 |
 |
peterr
Posts: 5971
|
| Posted: 11/24/2005, 12:30 PM |
|
If you are sure that there is no password needed, then please check the Connection->Server settings in your CCS project. This is configured separately from Connection->Design, which you probably have configured already.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
brucewin
Posts: 143
|
| Posted: 11/24/2005, 12:37 PM |
|
Could you tell me what to put in their. I can't get it right. Bruce
|
 |
 |
brucewin
Posts: 143
|
| Posted: 11/24/2005, 12:40 PM |
|
I may not even be in the right place. Project/SettingsSever/Script. Is this where you change them?
|
 |
 |
brucewin
Posts: 143
|
| Posted: 11/24/2005, 12:45 PM |
|
I did find another place that I think you mean. There are 3 tabs, Design,Advanced,Server.
Use Llimit/top : CHECK MARK
PHP Database Library: Improved MySql
Database or ODBC connection name: CCSInternet
Host: Localhost
Do I need anything else or should I make some changes?
|
 |
 |
peterr
Posts: 5971
|
| Posted: 11/24/2005, 1:12 PM |
|
That's the right place. If you are connecting to MySQL on Windows then you'd select:
PHP Database Library: ODBC -> MySql
Database or ODBC connection name: CCSInternet
Host:
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |