Jump to content

Recommended Posts

Posted

Hello, I'm sorry if this question has been asked, but I'm quite stressful right now. I plan on moving my domain here ASAP, or as soon and my current host decides to get in gear and get the severs back up. I use about 4 or 5 database, and I was wondering if you can pick the name yourself, or it has yours username attached to it? An example would be user_database. My current host doesn't have that, but they're also using Plesk. Sorry if I sound confusing, it makes since in my head :D

Posted

Okay thank you :D I can still move databases over just as easy though, right? The only thing I need to change is the config files?

Posted

Just chatted with Nikki. phpMyAdmin is available in Nikki's version of Plesk, so I will put together the steps for creating a dump and post back.

 

For anyone that may have tips and tricks, Nikki is using MT and would like to make that transition as easy as possible. Thanks in Advance!

Posted

Export/Import a database's tables (structure and data) using phpMyAdmin

 

Open phpMyAdmin

On the left, select the db to export

Click Export tab link

In the Export box, click Select All (to select all tables)

Ensure that SQL radio button is selected

Using the default settings for Structure and Data should serve you well

Checked Structure

Not Add 'drop table'

Checked Add AUTO_INCREMENT value

Checked Enclose table and Field names with backquotes

Checked Data

Not Complete and Extended inserts

Check Save as file

File name template: __DB__ (This will name the file the same as the DB name)

Compression: None.

 

Click GO

Select Save when prompted

Select location and save.

 

Then, when you get setup here -

Using Manage MySQL:

Create the Database

Create the user

Create the association between user and DB

 

Open phpMyAdmin and select this new db

Click the SQL tab link

Click Browse

Find the .sql file that you previously saved

Clicked GO

Tra-la. Should import each table, structure and data.

Posted

Firstly, thank you so much, this will dedfinly help me once I get my account on Monday, I hope anyway. Ok, I did run into a problem. Where it says "Checked Add AUTO_INCREMENT value" I couldn't find that anywhere on the page. My other question is about naming it. Since half the db name will be my user name, is it still ok to save these db's now? Or should I wait untill I get my account before saving them so I can save them with my name attached to it? Sorry if I sound confusing, but I gues I am a little still. Thanks for everything thing though :)

Posted

Nikki,

 

Don't worry about the Auto_Increment piece, not a big deal and you're probably using a different version of phpMyAdmin.

 

Naming the db is no issue. When you import the tables and data, you will have already created a db here. The file's name is irrelevant, but since you have several db's on the old host, it would make it easier to tell the resulting files apart. This is only a default for the file name.

Posted

Thanks so much for your help! I managed to move all my database fine, but I'm still having major problems with MT. I keep getting

>An error occurred while loading data:

syntax error at lib/MT/Util.pm line 327, near "s/]]&(gt|#62);/

I think I might just have to start all the way over. Thanks though for all your support.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...