manou Posted May 9, 2006 Share Posted May 9, 2006 hello,I am trying to run a php page and mysql using dreamweaver 8 but I can not make it work, and I need help.I appreciate your help,here is what I have on my computer:win xp pro ( IIS installed)dreamweaver 8, 2005 ( upgrade also installed (8.01),Php 5.1.4 Mysql 5 5.0.1.6mysql woks fine on my computer,I have istalled Navicat ( windows base software to work with Mysql)and connects to my test database.I made a php page and try to connect to my database but I get the following error :there is no testing server running on the machine, the testing server specified for this site does notmap to the [a href=\"http://localhost/test12/mmserver\" target=\"_blank\"]http://localhost/test12/mmserver[/a] Scripts/MMHTTPDB.php URL verify the URL prefixmap to the root of the site.mmserverScripts folder and the file MMHTTPDB.php are found on both local floder and server test folder,I have read many solutions posted on different forums on this issue but still could not make it work,different changes and got different errors, but the above error is the latest.I have this info on site defenition, advance mode:local info:local root folder: I:\webtest\test12\http address: [a href=\"http://localhost/test12/\" target=\"_blank\"]http://localhost/test12/[/a]Remote Info:access: local /networkremot folder: I:\webtest\test12\Testing Server:server model: PHP MYSQLacess: local/networkTesting Server Folder: C:\Inetpub\wwwroot\test12\URL Prefix: [a href=\"http://localhost/test12/\" target=\"_blank\"]http://localhost/test12/[/a]I have taken off the semi colon from the following code of php ini file:extension=php_mysql.dlland give the following address to the following code :doc_root=c:\Inetpub\wwwroot\but I don't know what to write in the front of following line in php ini file:extension_dir = "./"php is installed in c:\php\and php5ts.dll and php-cgi and three folders are inside the php folder.I also have copied the libmysql.dll into system32 folder and widows folder,I am working on this since this morning and not been able to make it work,appreciate if anyone can help me on this.Thanks Quote Link to comment https://forums.phpfreaks.com/topic/9364-can-not-connect-to-mysql-db/ Share on other sites More sharing options...
moberemk Posted May 9, 2006 Share Posted May 9, 2006 Is the MySQL server on another computer? If so, you can't connect to it unless it's specially set up to allow remote connections. Quote Link to comment https://forums.phpfreaks.com/topic/9364-can-not-connect-to-mysql-db/#findComment-34559 Share on other sites More sharing options...
manou Posted May 9, 2006 Author Share Posted May 9, 2006 [!--quoteo(post=372551:date=May 9 2006, 06:14 AM:name=moberemk)--][div class=\'quotetop\']QUOTE(moberemk @ May 9 2006, 06:14 AM) [snapback]372551[/snapback][/div][div class=\'quotemain\'][!--quotec--]Is the MySQL server on another computer? If so, you can't connect to it unless it's specially set up to allow remote connections.[/quote]thanks for reply;No it is not,everything is on my home compter, Quote Link to comment https://forums.phpfreaks.com/topic/9364-can-not-connect-to-mysql-db/#findComment-34664 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.