CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 MySQL Error: 1046 (No Database Selected)

Print topic Send  topic

Author Message
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!


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.