Trisiana
|
Posted: 01/09/2004, 6:35 PM |
|
Hi, I got this error message when I try to open http://localhost/CCSExamplePack/PopUpList/PopUpList.php
Database error: cannot use database
MySQL Error: 1046 (No Database Selected)
Session halted.
I am using WinXP + PHP4.3 + MySQL 3.2
Is anyone know how to solved this problem? I just change the language from
ASP to PHP and do not change anything else in CCSExamplePack.
|
|
 |
Trisiana
|
Posted: 01/09/2004, 7:05 PM |
|
Just got an answer from Greg (CodeCharge Support Team): "The thing is that
there are different settings for design-time database
connection and server-side connection. You should specify host,database
name,
login/password in Connection dialog/Server tab. You can also refer to
"Connecting to databases" article from CCS Help. Let me know if you have
more questions."
Greg is right, I forgot to check the MySQL server connection properties. I
assume that it was already correct.
Thanks for speedy reply and the solution. Great support!
|
|
 |
|