CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 php/mysql connection with database on server

Print topic Send  topic

Author Message
bhurban

Posts: 12
Posted: 07/27/2014, 1:30 AM

My CCS 5 is working fine on my local computer but it is creating problem on hosting server. Although it shows html files but when I run php files it shows blank screen with no Error.
My common.php file is following:

"Connection1" => array(
"Type" => "MySQL",
"DBLib" => "MySQL",
"Database" => "journal6_internet",
"Host" => "localhost",
"Port" => "3306;Database=journal6_internet",
"User" => "journal6_ccs",
"Password" => "mankind",

Please guide me that what connection should I use I mean string ODBC, String or Direct MySQL. I had already all forums and support system but I could not solve the problem.
View profile  Send private message
saseow

Posts: 735
Posted: 07/27/2014, 2:50 AM

Firstly make sure your server is actually running PHP and a newer version.
Also, try not specifying a port:
Change: "Port" => "3306;Database=journal6_internet",
To: "Port" => "",

View profile  Send private message
bhurban

Posts: 12
Posted: 07/27/2014, 5:18 AM

I tested on another server and it worked fine; thanks alot for your support.
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.

Web Database

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.