Importing sql file using phpmyadmin in EasyPHP

后端 未结 3 1146
有刺的猬
有刺的猬 2020-12-14 01:19

I have a website written in php and mysql (written by someone else) and I need to alter it- just for your interest it is bridgetjonesart.co.uk. So I thought I would download

3条回答
  •  无人及你
    2020-12-14 02:18

    As an alternative to modifying phpMyAdmin's config.inc.php as proposed in other answers, if you have shell access then you can directly execute this file using the MySQL console client.

    First, change directories to the folder containing your DDL script runningc_bjart.sql

    Then run this command, replacing the values for host, user, password, and database name:

    mysql --host=database_server --user=database_user --password=database_password --database=database_name < runningc_bjart.sql
    

    This ran just fine without the error received when importing via phpMyAdmin

提交回复
热议问题