Jump to content

Recommended Posts

hello,
-- phpMyAdmin SQL Dump
-- version 2.6.3-pl1
-- Server version: 4.0.14
-- PHP Version: 5.0.4

while exporting my db i can get query like this...
CREATE DATABASE `dbname`;
USE dbname;

i just want to know what is my DB's default char set? coz now i want to insert my old db's backup sql file. it contains query like....

CREATE DATABASE `cpg` DEFAULT CHARACTER SET latin1 COLLATE atin1_swedish_ci;
USE cpg;

if i import that file in my db via phpmyadmin then i got error like...

syntax to use near 'ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=35' at line.

i think this is happening cause of charset. coz that query was created by PLESK not by a human.

Please help me.


This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.