Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MySQL desktop PC setup problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MySQL desktop PC setup problem

 Post Reply Post Reply
Author
webwiz2000 View Drop Down
Newbie
Newbie


Joined: 04 September 2003
Location: United Kingdom
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote webwiz2000 Quote  Post ReplyReply Direct Link To This Post Topic: MySQL desktop PC setup problem
    Posted: 02 September 2006 at 4:41pm
I've set up a forum with a MySQL 5.0 backend on a website on my dedicated remote server running Windows 2003 Web Edition.
It is working perfectly OK on this server.
 
So that I can work locally on the forum I am now trying to do the same thing on my local machine but can't seem to get anywhere.
 
I'm using the same settings except I am replacing the dedicated server IP address with "localhost" in the "database_connection.asp" file. (I've also used 127.0.0.1 but it makes no difference)
 
Very briefly this is what I have done:
 
I am using dreamweaver, so I have the forum files located in the 2 folders:
c:\inetpub\govern\forum
and
c:\inetpub\wwwroot\govern\forum
In MySQL I've created a schemata called governforum02 with UserName and PassWord.
 
in the forum "database_connection.asp" file I have entered:
       strSQLServerName = "localhost" 
       strSQLDBUserName = "UserName" 
       strSQLDBPassword = "PassWord" 
       strSQLDBName = "governforum02" 


I then run the "msSQL_server_setup.asp" file in my browser and enter the followiing:
    SQL Server Username - UserName
    SQL Server Password -  PassWord
    SQL Server Username for creating tables - governforum02
 
I then get the standard error message:
*******************************************************
Error Connecting to database on MySQLServer
Check the following is set up and correct:-
MySQL Server User Name
MySQL Server Password
Name of the MySQL Server
Database name set up by you on the server
Empty Database set up by you on the MySQL Server
Check also that you have entered the correct details in the file 'database_connection.asp' found in the 'database' directory.

********************************************************

As far as I can work out, I have entered everything correctly.

Could this be something to do with trying to run it locally?
 
Many thanks.
Brian
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2006 at 11:20am
I can't see any reason why it wouldn't work as I used mySQL 5 as a localhost database server on my laptop when I developed the mySQL version and it worked fine.

I would check your mySQL 5 is working correctly and allows TCP/IP connections.

Also, if you are running your own dedicated windows 2003 web edition I would use the free SQL Server 2005 Express instead as in tests I found you get improved performance over mySQL 5. This site currently uses the Express version on the same platform.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.