mysql errors after restoring backup

zl0y

Verified User
Joined
Feb 12, 2009
Messages
20
Location
Sevastopol/Crimea
Hello, I have try to restore my users from DA admin backup and have errors with mysql

Unable to restore database ... : ERROR 1227 (42000) at line 1174 in file: '/home/someuser/backups/backup/someuser_somedb.sql': Access denied; you need the SUPER privilege for this operation

and user doesn't restored successfully.

How I can solve this problem?

mysql 5.1.59
os: debian 6 x64
 
It seems that mysql doesn't not allow to create views and triggers unpriveleged users. How I can override this with superadmin privileges. I have > 200 users backups restoring with errors
 
You can use phpmyadmin after creating the database. Then remove CREATE DATABASE from the sql file.
 
Back
Top