Quote:
Originally Posted by mark.willis the ` will be getting executed in the bash terminal ... how are you running the command? |
I tried a backup without backticks and it still gave syntax errors at the same point, I guess it just doesn't work that way. Thank you for your very kind offer!
Quote:
Originally Posted by m_c Remember you need to set the host for a United Hosting server, using the -h option (should be -h 127.0.0.1). |
Thanks, I tried that but the result was the same. Nothing happened. For the prosperity of future searchers, here's what does work:
Code:
cd /var/www/html/
mysql -h 127.0.0.1 -uusername -ppassword example_com_db < example.sql
It will again return you to the command prompt without any status messages, but the import should have been successful.