News:

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

Main Menu

Need help to transfer a SMF/SQL backup from one Hosting to another?

Started by KavinHarrison, August 15, 2020, 08:17:58 AM

Previous topic - Next topic

KavinHarrison

Hi there
I have a new hosting and still have the old one working as well.
My new hosting has SQL Import so I downloaded a SMF/SQL backup from my old provider and went to upload to my new hosting.
The new hosting says "Character set utf-8

A problem pops up saying:
Error
SQL query:
--
-- Table structure for table `smf_ads`
--
DROP TABLE IF EXISTS `smf_ads`

MySQL said: Documentation
#1046 - No database selected

Any ideas

vbgamer45

Add a line to the top of your .sql file that has

use DATABASENAMEHERE;


Replace DATABASENAMEHERE with your database name
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: