View Single Post
  #1  
Old 06-14-2014, 03:37 AM
natsu287 natsu287 is offline
 
Join Date: Jun 2014
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database Error :(

I was trying to create a test environment, but in the middle of it, I accidently deleted the database that my forum was using through Webmin

My control Panel is Virtualmin/Webmin on CentOS Server

So I followed the step's in creating the database for Webmin:
http://linuxconsultant.info/tutorial...min.html#mysql

Then at the end, I Imported the .sql file of my forum into the new database I created with the new user/pass

But I still get

Database error

Also after the import, I can see the Databse and tables all through PHPMYADMIN, as well, I also did not forget to edit the config.php file

what am I doing wrong?

Here is what I did
-Created a new user called "newforums with a password (for example: dbtest101)
-Set the host to localhost
-Selected All permissions

Then I am going create the database
-Called it also "newforums" and left the default settings for the resst

Then I am going to create the permission
- Selected the "newforums" database, and chose "newforums" as the user
- Set the host to localhost
- Selected all permissions

Then I selected the database, did "excecute sql", then I browed for my vb database forums, and the I waited about 2-5min, no error's.

I can then see all 208 table's and also when I log into PHPMYADMIN, I can see it all there too!

So I go into the includes\config.php, I edit the dbname, username, and password, then I save it

Then I go to my link, still database error!

I Must be doing something wrong
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01141 seconds
  • Memory Usage 1,764KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete