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

 MySQL on remote server

Print topic Send  topic

Author Message
dirksamson

Posts: 32
Posted: 10/22/2004, 12:40 AM

I'm developping on my own machine, using an ODBC connection to another machine on my (local) netwerk which is a MySQL server. MySQL seems to run just fine and (for instance) navicat and phpMyAdmin connect to it just fine, and fast.

My codecharge project (residing on my local harddisk, viewed with IIS on my own computer) is extremely slow, loading a page often takes more than 30 seconds. Placing the same project on the 'live' server, wich is an apache/mysql server results in a very fast website (loading << 1sec; my project isn't extremely large or database-intensive).

It looks as if the (persistent) connection from my own computer to the mysql server is very slow for some reason, but only from within codecharge. Any experiences?
_________________
Dirk
View profile  Send private message
klw
Posted: 10/22/2004, 10:09 AM

Could be an IIS misconfiguration with PHP.

Have you tried uninstalling and reinstalling PHP on your local machine?

peterr


Posts: 5971
Posted: 10/22/2004, 12:22 PM

It could also be a database indexing issue.
Maybe take a look at:
http://www.karakas-online.de/EN-Book/proceed-when-mysql-slow.html
http://www.google.com/search?hl=en&lr=&q=mysql+slow+php
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
E.
Posted: 10/28/2004, 10:17 PM

Check the name of the computer on which mysql runs.
You should use the full name of the host.
For example:
if the full name is remotehost.blabla.net, and the connection is made to remotehost (without blabla.net), it tries to retreive the name by the dns-suffix (which could contain .blabla.net). This may slow down the performance.

Good luck.
E.
dirksamson

Posts: 32
Posted: 10/29/2004, 4:52 AM

peterr: Placing website and database server on the same machine results in a very responsive website; so mysql itself probably isn't the problem

E.: Both computers are on my local network (with my own dns server). I'm now using the IP-address of the mysql machine. Unfortunately, that doesn't solve the problem either...
_________________
Dirk
View profile  Send private message
peterr


Posts: 5971
Posted: 10/29/2004, 12:24 PM

OK, it was just an idea. Sorry if I couldn't help. Hopefully someone else can.
_________________
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.

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.