I don't know what I'm doing wrong I really need to do this and I can do it. I need to upload my database to my app. I'm using this comands.
mysql --user=mediexcel2 -p --host=mysql.server 'mediexcel2$mediexceldb' < Final.sql
I been trying this too
mysql --u mediexcel2 -p -h mysql.server --databases 'mediexcel2$mediexceldb < /home/mediexcel2/Final.sql
And I get this error:
ERROR 1044 (42000) at line 1: Access denied for user 'mediexcel2'@'%' to database 'mediexceldb'
I did a dump file and it works perfect, but when I'm trying to do it backward it doesn't work, I really need help with this, I been with the same error all day.