CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 mysql and php4.0

Print topic Send  topic

Author Message
troy
Posted: 08/10/2004, 5:59 AM

I have started working with php ,when I publish my site on localhost I get this error "Database error: connect(localhost, admin, $Password) failed.
MySQL Error: ()
Session halted.

I am using xp with iis, do I need apache server for it to work??

AS for asp and access, it works just fine.
klw
Posted: 08/10/2004, 7:49 AM

Try setting up an ODBC connection with the same username and
password and try to connect that way first.

If that doesn't work, then you'll have to setup a user account for MySQL
with the access you need.

If it does work, then there's a problem with your connection settings
in CodeCharge.
peterr


Posts: 5971
Posted: 08/10/2004, 11:38 AM

Troy,

Please specify the Login & Password in both:
- Server Connection in CCS (http://docs.codecharge.com/studio/html/UserGuide/WorkingWithProjs/ConnectingDatabases/ConfiguringServerConnection.html )
- System DSN/ODBC in Control Panel
That way at least one of them should work.

This error is not related to IIS. PHP can be used with both IIS or Apache, but in each case may need to be setup differently. If you see any other errors then you could look into your PHP setup.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


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.