Previous Thread
Next Thread
Print Thread
Hop To
Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
I am trying to install Threads for the first time. (We have a lively Classic 6.7.3 board.)

I have come to a roadblock on the Database settings.

I enter the following:
Database server: localhost
Database name: WHITNEY
Database user: WHITNEY1
and the password.

Clicking the Check database Settings button returns:

Here we are checking your database connectivity and permissions. If any of these checks fail you will need to correct the errors in order to proceed.
Connecting to server FAILED
Connecting to database FAILED
One or more of the above checks failed. Click the button below to return to the previous screen to verify your settings.

I called the tech support line, and the guy tried it on that end, and it failed as well. He says the "localhost" is the correct name for the Database Server.

The only thing I have done differently in the primary install is to create the installation directory under /httpdocs as the name "forum" rather than "forums".

Hope someone here can help me out.
Thanks in advance.

Joined: Jun 2006
Posts: 196
I
enthusiast
enthusiast
I Offline
Joined: Jun 2006
Posts: 196
maybe try 127.0.0.1 instead of localhost?

Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Thanks for the suggestion. Tried 127.0.0.1, and got the same result.

By the way, I am installing on a unix server, running MySQL 4.1.11, and PHP 4.3.11

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You'll want to verify the username and password are correct as well. If these are incorrect it can keep you from connecting to the database server completely.

Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Well, I can successfully log into their Server Administrator page using my username WHITNEY1 and the password. It gives me access to some PLESK-powered pages.

So I think I have the username/password set up ok.

Is there an alternate route I can go to determine the specific error begin returned?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
The Username and password for your server admin page is more than likely different than the Database Username / Password. You could make a quick PHP script with just the following in it:

PHP Code

<?php

mysql_connect("localhost","username","password");

?>


Just name it something like test.php, replace "username" and "password" with the actual username/password and then put it into your install directory. Bring it up in your browser and it should give you more info.

Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Thanks. Tried it, got the following:

Warning: Access denied for user: 'WHITNEY1@localhost' (Using password: YES) in /usr/local/psa/home/vhosts/whitneyportalstore.com/httpdocs/forum/install/test_install.php on line 3

Warning: MySQL Connection Failed: Access denied for user: 'WHITNEY1@localhost' (Using password: YES) in /usr/local/psa/home/vhosts/whitneyportalstore.com/httpdocs/forum/install/test_install.php on line 3



Edit ...More info coming...

Last edited by Steve C; 01/08/2007 3:29 PM.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, so it's definitely the username/password that is being used. You'll want to contact your host and find out the proper username/password to access your database.

Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Ok, solved the problem with your help. I used the PLESK pages to create a second user and used the above test php file to login to the database. What I found is that this system accepts a Database name and Database user in ALL LOWER case ONLY. This is in spite of the fact that I asked tech support to initially create everything using upper-case.

Once I switched to all lower-case, I got past the check database settings page.

Not sure if that is only a restriction on this server, but a note in your install instructions could be useful.

Thanks for the help!

Joined: Nov 2006
Posts: 3,097
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,097
Likes: 1
Updated documentation is always good, but as an FYI Windows hosting is typically not case sensitive and Linux often is.

.

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Most CPanels work independantly of the MySQL password; in fact, they generally utilize your user password on the maching (such as for ftp or ssh access); mysql is a seperate service with its own user system (as it has a very strict permission system).

And as NT said best, Windows does not care about cAsE SensATIvitY, which can be horrid with usernames and passwords (the option to be CaSe SENsITIve is a good security option as well as you can change a simple string into a useful/secure password due to how you EnTEr it).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,097
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,097
Likes: 1
Well passwords are case sensitive on Windows, just not the file system (though it can be but I've never seen anyone set it up or use it)

Cpanel is a pita but unless you've got the cash to buy a VPS or a real server not much choice.

phpAdmin gives me fits as well via CP

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Well, I was referancing them as cpanels, not specifically the cpanel control panel... I was referancing:
CPanel
Webmin
Plesk
etc...

Myself, I use Webmin as my cpanel, because I'm just that hardcore wink lol... besides, I like customization wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,097
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,097
Likes: 1
No choice for me frown

Have to take what they give me as I don't have the cash to do my own server. But as I posted in another thread, was cool they gave me some free stuff by knowing my site already. grin

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I'm on a VPS, so I can customize just about anything; in fact, I just upgraded Webmin/Usermin/Virtualmin/PHP/MySQL on my CentOS4.4 VPS hehe


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,097
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,097
Likes: 1
I thought you said you was broke sick LOL

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
The VPS is free, my compensation for working 24/7 at my old place of employment...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,097
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,097
Likes: 1
That's cool. grin

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Originally Posted by ntdoc
That's cool. grin
yes, fueling my addictions is cool wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 171 guests, and 128 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)