Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to restore data into mysql under linux?

    I already installed mysql server and mysql-administrator under both linux and windows.I entered data into DB under windows, now I want restore it into the DB under linux. I use mysql-administrator to do all the operations.
    But when I restore, I hit this error:
    The server has returned this error message:No database selected

    Then I try to create new schema in mysql under linux, but hit this error:
    Could not execute query 'CREATE DATABASE s;'.
    Error executing SQL command.

    At the same time, the terminal show this error:
    Gtk-WARNING **: Ignoring the separator setting

    wondering what's the pbm to make all these happen?

  2. #2
    Try this from the command prompt

    To restore the database run:

    mysql -u user -p dbname < &#123;path&#125;/backup.sql

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts