Gossamer Forum
Home : Products : Others : MySQLMan :

Trying to copy a db

Quote Reply
Trying to copy a db
I am attempting to import a file to give access to a php store script.

It tells me to (what I am assuming is) copy the database from a telnet login as:

mysql (database name) < ./mysql_catalog.sql

and I continue to get a 'no such file' error.

The file is in a folder called 'test' that is in the root directory of my domain, but for the life of me I cannot figure out how to do this. It is supposed to copy it with all the tables setup...HELP!!Unsure
Quote Reply
Re: [keyblends] Trying to copy a db In reply to
You have to use the full absolute path where your .sql file is located.

Example:

mysql (database name) < /web/local/website/folder/mysql_catalog.sql
========================================
Buh Bye!

Cheers,
Me