Elxis CMS Forum

Support => Database => Topic started by: mmarch on February 08, 2007, 15:54:06

Title: Problem with MSQL(SOLVED)
Post by: mmarch on February 08, 2007, 15:54:06
Hi!!!

I runed my web server on old computer - slow machine. That's because i bought new one. When i connected new one to my internet cable i get IP with blocked 80 port. Old machine worked fine with enother IP number. I cheked visualroute.com for trace and new one is blocked by my ISP. That's because i setup in zoneedit.com web forfarding option. After this when i tried connect to my site i get 5 errors:

1.PHP: mysql_pconnect() [function.mysql-pconnect]: Can't connect to MySQL server on 'www.merkurs.org' (10061)
uri: index.php
path:
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): C:\webroot\xampp\htdocs\merkurs\includes\adodb\drivers\adodb-mysql.inc.php, line 372

2.PHP: database::include(C:\webroot\xampp\htdocs\merkurs\includes\Core/../configuration.php) [function.database-include]: failed to open stream: No such file or directory
uri: index.php
path:
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): C:\webroot\xampp\htdocs\merkurs\includes\Core\database.php, line 163

and 3 more.

How i can fix this issue????
Title: Re: Problem with MSQL
Post by: datahell on February 08, 2007, 18:47:04
1.PHP: mysql_pconnect() [function.mysql-pconnect]: Can't connect to MySQL server on 'www.merkurs.org' (10061)

MySQL for safety reasons allows only connections from host 'localhost'. You have set 'www.merkus.org' which is a remote host even if is located in your pc! Change host to localhost in your site settings or enable remote connections in my.ini (not recommended). Why you try to run a server from your home computer?