On Monday 10 June 2002 16:34, Wilbert Enserink wrote: > Hi all, > > > I have a .txt file containing a mysql dump. Normally when I would restore > this dump I would go to the mysql 'prompt' and type something like: mysql < > dimpfile.txt. I would use SSH or telnet for this. > > > Now I have this new problem: I cannot reach the sql pompt via SSH/telnet. > Is there any other way to create all the tables and records from the > dumpfile.txt into the database on the database server?? > > Maybe it is possible to copy paste the sql statements into a php file which > can do this? I can then upload this php file to the webserver and perform > the job. Maybe anybody can advise me on the php code part of this solution.
The easiest solution is to install phpMyAdmin. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Doing gets it done. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php