Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2005, 03:15 PM
got1-2 got1-2 is offline
 
Join Date: Mar 2005
Location: here
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help for a Newbie

Hello all.
I have tried to install, but no luck yet.
I get the usual error msg at stage 2 "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."
BU i can connect to my database, i have edited the config file to the right user/pass settings, and it just wont let me proceed :disappointed:

I just seem to be going round in circles..have followed the manual to the letter, my BD is showing in MyPHP admin, i have changed the password several times just to make sure!

Im really at a blank on this, any tips or ideas would be really helpful!!

Thanks in advance...Clive
Reply With Quote
  #2  
Old 03-09-2005, 03:51 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would help if you told us what you are trying to install?

You're installing vBulletin or a hack?

If you're installing vB, then please also your php & mysql version.
Reply With Quote
  #3  
Old 03-09-2005, 04:10 PM
got1-2 got1-2 is offline
 
Join Date: Mar 2005
Location: here
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am trying to install VB307, my sql version on my host is 3.23 php4 i think.
Thanks
Reply With Quote
  #4  
Old 03-09-2005, 05:40 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you leave the hostname set to localhost in the config.php?
Reply With Quote
  #5  
Old 03-09-2005, 05:57 PM
got1-2 got1-2 is offline
 
Join Date: Mar 2005
Location: here
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes...
Reply With Quote
  #6  
Old 03-09-2005, 06:26 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well if the database is on the same server, you left the hostname to localhost, and set the databasename, the database-user and database-pass correct, all should work.

If the datbase was on a different server, it could be a permission thing, but i never saw a host that is blocking connections to mysql from localhost.

Quote:
BU i can connect to my database, i have edited the config file to the right user/pass settings, and it just wont let me proceed
You did set the databasename, did you?
Reply With Quote
  #7  
Old 03-09-2005, 07:57 PM
got1-2 got1-2 is offline
 
Join Date: Mar 2005
Location: here
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats the strange thing, i have set a database on the server, and can access it using Myphpadmin.
Its all done from the admin controll panel/msql managment panel.

It has now been resolved, thanks for your help.
It seems the server didnt recognise localhost, and the congfig variable was changed to 127.0.0.1
Reply With Quote
  #8  
Old 03-10-2005, 03:10 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very strange, sounds to me like the /etc/hosts file on your server don't have the localhost entry or the file is not public readable. In both cases i would suspect more (non vB) processes to have troubles on that server.

Is it a linux or windows server?
Reply With Quote
  #9  
Old 03-10-2005, 06:59 AM
got1-2 got1-2 is offline
 
Join Date: Mar 2005
Location: here
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:smoke: Your right about more trouble..i am trying to configure impex ...here we go again! :surprised:
Reply With Quote
  #10  
Old 03-10-2005, 07:21 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have SSH/telnet access, i suggest you try a "ping localhost" on that server. It MUST respond with 127.0.0.1

Anyway to me it sounds like the server config is really faulty and probably only your host could fix it, but maybe i am complete wrong on this

I suggest you contact your host about this problem.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:20 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.08931 seconds
  • Memory Usage 2,241KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete