Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - newbie problem installing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

newbie problem installing

 Post Reply Post Reply
Author
ninjaxryder View Drop Down
Newbie
Newbie


Joined: 22 December 2006
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote ninjaxryder Quote  Post ReplyReply Direct Link To This Post Topic: newbie problem installing
    Posted: 22 December 2006 at 9:50pm
hi...ive trying to install this forum now for days and still cannot get it to work..this is what i did...
 
These are not my actually user & pw ...just examples...
Host: mysql241.test.net
Database: abcd
User abcd
Password: 1234
 
'Enter the details of your Microsoft SQL Server or MySQL Server and database below
 '*********************************************************************************
 
 strSQLServerName = "mysql241.test.net" 'Holds the name of the SQL Server (This is the name/location or IP address of the SQL Server)
 strSQLDBUserName = "abcd" 'Holds the user name (for SQL Server Authentication)
 strSQLDBPassword = "1234" 'Holds the password (for SQL Server Authentication)
 strSQLDBName = "abcd"  'Holds the name of the database
 
 
 'Initilise the DB Connection String
 strCon = "Server=mysql241.test.net" & strSQLServerName & ";User ID=abcd" & strSQLDBUserName & ";Password=1234" & strSQLDBPassword & ";Database=abcd" & strSQLDBName & ";"
End If
 
that is how i inputed in my database_connection.asp...
 
then when i went to msSQL_server_setup.asp it give me three things to put in....
 
SQL Server Username: abcd
SQL Server Password: 1234
SQL Server Username for creating tables: abcd
 
and get this message...
 
 
Error Connecting to database on SQL Server

Check the following is set up and correct:-

SQL Server User Name
SQL Server Password
Name of the SQL Server
Database name set up by you on the server
Empty Database set up by you on the SQL Server

Check also that you have entered the correct details in the file 'database_connection.asp' found in the 'database' directory.
 
what am i doing wrong?!!? please help....thanks
Back to Top
Melkor View Drop Down
Groupie
Groupie


Joined: 11 December 2006
Location: United States
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Melkor Quote  Post ReplyReply Direct Link To This Post Posted: 23 December 2006 at 12:05am

You don't enter the details in the connection string, just where the strings are assigned values;

 strSQLServerName = "mysql241.test.net" 'Holds the name of the SQL Server (This is the name/location or IP address of the SQL Server)
 strSQLDBUserName = "abcd" 'Holds the user name (for SQL Server Authentication)
 strSQLDBPassword = "abcd" 'Holds the password (for SQL Server Authentication)
 strSQLDBName = "1234"  'Holds the name of the database

 
 
 'Initilise the DB Connection String
 strCon = "Server=" & strSQLServerName & ";User ID=" & strSQLDBUserName & ";Password=" & strSQLDBPassword & ";Database=" & strSQLDBName & ";"
End If

Back to Top
Mikey View Drop Down
Senior Member
Senior Member

1979

Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikey Quote  Post ReplyReply Direct Link To This Post Posted: 23 December 2006 at 3:28am
Originally posted by ninjaxryder ninjaxryder wrote:

'Enter the details of your Microsoft SQL Server or MySQL Server and database below
 '*********************************************************************************
 
 strSQLServerName = "mysql241.test.net" 'Holds the name of the SQL Server (This is the name/location or IP address of the SQL Server)
 strSQLDBUserName = "abcd" 'Holds the user name (for SQL Server Authentication)
 strSQLDBPassword = "1234" 'Holds the password (for SQL Server Authentication)
 strSQLDBName = "abcd"  'Holds the name of the database


Thats correct, leave that as it is, also your host may supply a ip address to connect to your MySQL so try that and also try 'localhost'
My host supplies a full domain to connect to my MySQL but it never works where as the simple 'localhost' way does
Handyman man?
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.