WebFaction
Community site: login faq

I followed the instructions here: http://docs.webfaction.com/user-guide/moving.html?highlight=mysql migration#advanced-migration-guide

But I can't actually import data into the new database as is implied by the instructions!

mysql -u mydatabase -p -D mydatabase < ~/mydatabase.sql
Enter password:
ERROR 1227 (42000) at line 473: Access denied; you need the SUPER privilege for this operation

So, how do I import the data?

[1]: http://docs.webfaction.com/user-guide/moving.html?highlight=mysql migration#advanced-migration-guide

asked 10 Oct '13, 23:22

Arunas
1527
accept rate: 0%

reverted 11 Oct '13, 16:49

bmeyer71 ♦♦
1.5k3613


OK, I thought this was because of a view issue, but it turns out that since I was importing under a different user than I had exported it under, there was indeed a permissions issue, and I had to edit the sql file to give ownership for the view to the new user.

permanent link

answered 14 Oct '13, 21:03

Arunas
1527
accept rate: 0%

Ah yes. I figured it out. I have a view in the source database and default permissions don't permit the creation of views.

permanent link

answered 11 Oct '13, 17:03

Arunas
1527
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×168
×41

question asked: 10 Oct '13, 23:22

question was seen: 1,919 times

last updated: 14 Oct '13, 21:03

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM