SQL export from shared server for localhost
Posted: Fri Feb 09, 2007 10:54 pm
Finally getting around to what should have happened a year ago. I finally installed XAMPP and now want to export the data from my current s9y shared server install, and import that into a localhost database.
Are there any special settings for exporting? From my shared server phpmyadmin, I simply selected "export", left all check boxes at their defaults, and selected a file format of sql. In my localhost version, I selected import, browsed to the zip file created by the export, left character set of the file at utf8, but get the following error:
Are there any special settings for exporting? From my shared server phpmyadmin, I simply selected "export", left all check boxes at their defaults, and selected a file format of sql. In my localhost version, I selected import, browsed to the zip file created by the export, left character set of the file at utf8, but get the following error:
Code: Select all
Error
SQL query:
-- phpMyAdmin SQL Dump
-- version 2.7.0-pl2
-- http://www.phpmyadmin.net
--
-- Generation Time: Feb 09, 2007 at 02:22 PM
-- Server version: 4.0.27
-- PHP Version: 4.4.4
--
-- Database: `19982992_chambe`
--
-- --------------------------------------------------------
--
-- Table structure for table `serendipity_access`
--
CREATE TABLE `serendipity_access` (
`groupid` int( 10 ) unsigned NOT NULL default '0',
`artifact_id` int( 10 ) unsigned NOT NULL default '0',
`artifact_type` varchar( 64 ) NOT NULL default '',
`artifact_mode` varchar( 64 ) NOT NULL default '',
`artifact_index` varchar( 64 ) NOT NULL default '',
KEY `accessgroup_idx` ( `groupid` ) ,
KEY `accessgroupT_idx` ( `artifact_id` , `artifact_type` , `artifact_mode` ) ,
KEY `accessforeign_idx` ( `artifact_id` )
) TYPE = MYISAM ;
MySQL said: Documentation
#1046 - No database selected