vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Can't connect to database? (https://vborg.vbsupport.ru/showthread.php?t=287625)

Fulla 09-08-2012 09:39 PM

Can't connect to database?
 
1 Attachment(s)
I'm installing vbulletin. I've gotten to stage 3 and it says it cannot connect to database.

As far I know I have typed everything in correctly in the config.php.

I added a screenshot of what my site ays my database name is, but I've read on same places you need to put your username before or something? Would this be a correct 'db name' entry?'

'dbname'
'username'
'password'

are all correct so it must be that?
Please help?

snakes1100 09-08-2012 10:13 PM

Is the host set correctly in config.php?

Id verify again & post up the actual db error message.

Fulla 09-08-2012 11:16 PM

The host? What do you mean sorry?

The error message is the following:

"The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file."

snakes1100 09-08-2012 11:19 PM

Is this set correctly?

Code:

$config['MasterServer']['servername'] = 'localhost';

Fulla 09-08-2012 11:37 PM

Yes I did not edit that. I only changed dbname, username and password.

ForceHSS 09-08-2012 11:38 PM

host u are with? Like godaddy you need to fill in the localhost with what they give you. You would be best to talk to your host see if they can help you

snakes1100 09-08-2012 11:42 PM

Then you have entered one of the four entries relating to the db incorrectly.

Fulla 09-08-2012 11:49 PM

I'm with 123-reg.

I figured that, but I copy pasted them correctly. As from my original message, do I need to put anything infront of the data base?

like username_databasename
or site_databasename ?

snakes1100 09-08-2012 11:50 PM

Verify the db name in your host panel or thru phpmyadmin.

If your on a shared hosting acct, id check with the host or in your hosting panel for the correct database servername as well.


All times are GMT. The time now is 09:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01069 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete