Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (Pilgrim, Bjab, Stan, Dunny), 22 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/17/12
Posts: 3
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#203207 - 12/13/07 11:39 AM Error in Step 3 of Installation - Connection to Server Failed
Wayne Harris Offline
stranger
Registered: 12/13/07
Posts: 12
I have been using UBB Classic for almost 10 years now. I have a "gold" support plan.

I am having difficulty with the Threads installation.
I have installed MySQL. PHP is already on the server as we use it for UBBClassic. (According to the info.php file, MySQL is enabled.)
I can login to the MySQL command prompt. I have created a database named "ubbthreads", a user named "ubbserver", and assigned a password to the user.

In Step 2, the install utility asks for MySQl server info. Currently, the fields are populated as follows...
Database Server: localhost
Database Name: ubbthreads
Database User: ubbserver
Database Password: *******
Tablename prefix: ubbt_

When I click on "Check Database Settings", Page 3 is displayed.

This page tells me that..

Connecting to Server: Failed
Connecting to Database: Failed

The installation documentation that came with the download is sparse. I needs assistance.

Thanks in advance.

Wayne Harris
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#203208 - 12/13/07 11:52 AM Re: Error in Step 3 of Installation - Connection to Server Failed [Re: Wayne Harris]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
From install doc:
 Quote:
If the installation script tells you that connecting to the database with the information provided has "FAILED", use the "Verify Settings" button to return to the form. Check your settings, contacting your host if necessary, and try again.

Any good?
Top
#203209 - 12/13/07 11:54 AM Re: Error in Step 3 of Installation - Connection to Server Failed [Re: ScriptKeeper]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
Also, your Database Name might be your server name + database name.

eg: Database Name: myserver_ubbthreads
Top
#203212 - 12/13/07 12:09 PM Re: Error in Step 3 of Installation - Connection to Server Failed [Re: ScriptKeeper]
Wayne Harris Offline
stranger
Registered: 12/13/07
Posts: 12
Thanks for the quick response. I have my own servers. I have created the information and accounts being used.

I have tried various permutations on the server name and database name with no success.

I just examined the PHP.INI file. The default values for the MySQL section are listed below...

[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = On

; Maximum number of persistent links. -1 means no limit.
mysql.max_persistent = -1

; Maximum number of links (persistent + non-persistent). -1 means no limit.
mysql.max_links = -1

; Default port number for mysql_connect(). If unset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
mysql.default_port =

; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =

; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
; and reveal this password! And of course, any users with read access to this
; file will be able to reveal the password as well.
mysql.default_password =

; Maximum time (in secondes) for connect timeout. -1 means no limimt
mysql.connect_timeout = 60

; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
; SQL-Erros will be displayed.
mysql.trace_mode = Off

[mSQL]
; Allow or prevent persistent links.
msql.allow_persistent = On

; Maximum number of persistent links. -1 means no limit.
msql.max_persistent = -1

; Maximum number of links (persistent+non persistent). -1 means no limit.
msql.max_links = -1
Top
#203214 - 12/13/07 12:30 PM Re: Error in Step 3 of Installation - Connection to Server Failed [Re: Wayne Harris]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
 Originally Posted By: Wayne Harris
Database Server: localhost
Database Name: ubbthreads
Database User: ubbserver
Database Password: *******

Have you tried Database Name: ubbserver_ubbthreads
Top
#203217 - 12/13/07 12:40 PM Re: Error in Step 3 of Installation - Connection to Server Failed [Re: ScriptKeeper]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
As it is your own server, I assume you set up the database and database user / password yourself.

Are you confident that you have entered those correct details in the config - making sure that it is case sensitive?
Top
#203218 - 12/13/07 12:41 PM Re: Error in Step 3 of Installation - Connection to Server Failed [Re: ScriptKeeper]
Wayne Harris Offline
stranger
Registered: 12/13/07
Posts: 12
The name of the server is SERVER2. I changed the database name to server2_ubbthreads without success.

I also changed the Database Server from localhost to SERVER2 without success.

I have tried the following names for Database Server without success...

localhost
127.0.0.1
65.90.218.142

Thanks in advance for your assistance.

Wayne
Top
#203219 - 12/13/07 12:46 PM Re: Error in Step 3 of Installation - Connection to Server Failed [Re: Ian]
Wayne Harris Offline
stranger
Registered: 12/13/07
Posts: 12
 Originally Posted By: Ian
As it is your own server, I assume you set up the database and database user / password yourself.

Are you confident that you have entered those correct details in the config - making sure that it is case sensitive?


Yes. I have created and deleted several users from the MySQL command prompt. When I use "select user, host, password from mysql.user;" I get the following...

USER HOST PASSWORD
root localhost *******...
ubbserver localhost *******...

When I use "show databases;" I see the following...

DATABASE
information-schema
mysql
ubbthreads
Top
#203221 - 12/13/07 01:38 PM Re: Error in Step 3 of Installation - Connection to Server Failed [Re: Wayne Harris]
David Dreezer Offline

Pooh-Bah
Registered: 07/21/06
Posts: 2199
Connection to server failed? NOT permission denied?

Find out where mysql.sock is located.

edit this in your php.ini to match
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =

Restart Apache or IIS or whatever you're using.
_________________________
This thread for sale. Click here!
Top
#203222 - 12/13/07 01:40 PM Re: Error in Step 3 of Installation - Connection to Server Failed [Re: David Dreezer]
David Dreezer Offline

Pooh-Bah
Registered: 07/21/06
Posts: 2199
If it's permission denied on the other hands, you probably have mysql using new passwords and php using old passwords. Mysql is newer than 4.1 and php is a version 4 something?
_________________________
This thread for sale. Click here!
Top
Page 1 of 3 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
12:54 AM
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
Forum Stats
10491 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image