I am moving an EE site from a development server to the final host server and are having some problems moving the database.
I have exported the database through phpMyAdmin with all the default settings.
I don’t have as much access to the new server as I would like but have had a new database created which I can access through phpMyAdmin.
When I import the file I created earlier I am getting this error.
Error
SQL query:
-- phpMyAdmin SQL Dump
-- version 2.8.2.4
-- <a href="http://www.phpmyadmin.net">http://www.phpmyadmin.net</a>
--
-- Host: localhost:3306
-- Generation Time: Jun 24, 2008 at 10:13 AM
-- Server version: 4.1.20
-- PHP Version: 5.0.5
--
-- Database: `numidia_db`
--
-- --------------------------------------------------------
--
-- Table structure for table `exp_actions`
--
CREATE TABLE `exp_actions` (
`action_id` INT( 4 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`class` VARCHAR( 50 ) NOT NULL DEFAULT '',
`method` VARCHAR( 50 ) NOT NULL DEFAULT '',
PRIMARY KEY ( `action_id` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8 AUTO_INCREMENT =20
MySQL said:
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=20' at line 2Any ideas. I’ve never done this before.