Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - mysql server, unable to connect
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

mysql server, unable to connect

 Post Reply Post Reply
Author
hari007 View Drop Down
Newbie
Newbie


Joined: 11 September 2005
Location: India
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote hari007 Quote  Post ReplyReply Direct Link To This Post Topic: mysql server, unable to connect
    Posted: 11 September 2005 at 9:57am
can any body tell me how to make changes in the sql server connection.asp.  , i am editing with my sql servername and user name and password , but not accepting while running the setup.asp.

i am entering the .asp settings file. can any body see the below code and tell me where i am doing the wrong. why my string is not accepting.

-----------------------------------------------
Dim strSQLServerName        'Holds the name of the SQL Server
Dim strSQLDBUserName        'Holds the user name (for SQL Server Authentication)
Dim strSQLDBPassword        'Holds the password (for SQL Server Authentication)
Dim strSQLDBName        'Holds name of a database on the server


'------------- The Driver Below is if you are using SQL Server (Do Not Use Unless you know and have an SQL Server) ---------------------------

'Enter the details of your SQL server below
strSQLServerName = "mysql526.secureserver.net" 'Holds the name of the SQL Server
strSQLDBUserName = "vishal" 'Holds the user name (for SQL Server Authentication)
strSQLDBPassword = "vishal" 'Holds the password (for SQL Server Authentication)
strSQLDBName = "xxyy123"     'Holds name of a database on the server


'Please note the forum has been optimised for the SQL OLE DB Driver using another driver
'or system DSN to connect to the SQL Server database will course errors in the forum and
'drastically reduce the performance of the forum!


'The SQLOLEDB driver offers the highest performance at this time for connecting to SQL Server databases from within ASP.


'MS SQL Server OLE Driver (If you change this string make sure you also change it in the msSQL_server_setup.asp file when creating the database)
strCon = "Provider=SQLOLEDB;Server=" & strSQLServerName & ";User ID=" & strSQLDBUserName & ";Password=" & strSQLDBPassword & ";Database=" & strSQLDBName & ";"
--------------------------------------------

thanking you
harish
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 11 September 2005 at 10:07am
this forum is not made to work on a MySQL enviroment, only on a MS SQL and MS Access database backend.


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.