vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Switching Hosts (https://vborg.vbsupport.ru/showthread.php?t=221848)

Napster6 08-26-2009 08:46 PM

Switching Hosts
 
I am trying to switch hosts, I have all the forums folders i uploaded them via FTP

I get the standard database error page with no code on it or anything. It's been awhile since I did this much any ideas, I am assuming I am missing something.

HMBeaty 08-26-2009 08:51 PM

Did you update your includes/config.php file? You can also right click > view source on the page you get the database error to view the error

Napster6 08-26-2009 08:55 PM

I didn't update anything.

Quote:

charset=ISO-8859-1
that the error msg?

HMBeaty 08-26-2009 09:01 PM

No, and you might want to make sure you update you're config.php file to coincide with your new host

Napster6 08-26-2009 09:08 PM

Quote:

<!--
Database error in vBulletin :

Cannot use database

MySQL Error : No database selected
Error Number : 1046
Request Date : Wednesday, August 26th 2009 @ 10:07:35 PM
Error Date : Wednesday, August 26th 2009 @ 10:07:35 PM
Script : XXXX
Referrer :
IP Address : XXXXXXXX
Username :
Classname : vB_Database
MySQL Version :
-->

Any ideas there?

HMBeaty 08-26-2009 09:12 PM

Quote:

MySQL Error : No database selected
Again, you need to update your config.php file

Napster6 08-26-2009 09:17 PM

Okay well background here

I already run vbulletin on my one site, I am hosting this for a friend.
The database and table prefix where do I figure that out again?

--------------- Added [DATE]1251325375[/DATE] at [TIME]1251325375[/TIME] ---------------

Quote:

mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Access denied for user 'gf'@'XX.61.149.141' (using password: YES)
/mounted-storage/home119c/sub006/sc67362-TFJU/www/gf/forums/includes/class_core.php on line 311

THanks for the help by the way

snakes1100 08-26-2009 09:43 PM

Update the database name, username & password in config.php, they are not the same from server to server typically unless you matched what "your friend" had set in the config file originally.

Napster6 08-26-2009 09:59 PM

looks like im stuck on table prefix. how do I decide again how to do that?

snakes1100 08-26-2009 10:01 PM

Use phpmyadmin to view the database, the prefixes will be at the begining of the table names.


All times are GMT. The time now is 04:06 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.00992 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete