News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Error SQL query

Started by nina_Bkk, October 12, 2014, 12:10:33 AM

Previous topic - Next topic

nina_Bkk

Hi,

My db has moved to new server Because for improve Myphp to higher version (not sure 1.1 to 5.0 version) and can use SMF  in new version from 1.0 to 2.0.9

1. A link to my forum is >> hxxp:www.preclinic.com/webboard [nonactive]

2. Any errors from your error log that may be related (please remove paths and IP addresses - only the filename, line number and error message are needed) >> about Error SQL query

3. A detailed description of the problem is >> I cannot import my old db (mydb_webboard.sql) to new server show me this error :

****************

Error SQL query: # ========================================================== # #

Database dump of tables in `mydb_webboard` # August 11, 2014, 02:05:52 am # #

========================================================== # #
Table structure for table

`mydb_webboard_attachments` # DROP TABLE IF EXISTS `mydb_webboard_attachments` ; MySQL said: Documentation

#1046 - No database selected

*************

And my old hosting account was deleted and all databases also were deleted. I have backup for these databases already, but show me error.

Please advise me in easy way to import my old SQL.

Thanks at first

Illori

as the error message says you need to select a database before you can import your old database.

nina_Bkk

I selected a database already but show that error.

I'm not sure if not the same name db name can import or not eg.

Old to >> new

1) mydb_ant.sql >> to mydb_elephant.sql
2) mydb_fish.sql >> to mydb_envelope.sql

Thanks at first.

Advertisement: