Mysql Script Directory
Posted by: Eduardo (---.speedy.com.ar)
Date: December 29, 2006 10:40PM

Hi
I`m trying to execute a mysql script whit the Source command in the MySQL console.
Where can I copy the script or How is the sintaxis of the command?
If I Typo
Source 1.sql;

The error is: Failed to open file '1.sql'. error: 2

Thanks!
Eduardo

Options: ReplyQuote
Re: Mysql Script Directory
Posted by: yfastud (---.cable.mindspring.com)
Date: December 29, 2006 11:29PM

better to run that script in phpmyadmin, but make sure to run it in the correct database

Have fun

[www.jlbn.com] (testing web server)
[test.jlbn.com] (testing codes)
[forum.jlbn.com] (testing phpBB2)
[forums.jlbn.com] (testing phpBB3)
[mail.jlbn.com] (testing mailserver)
[ftp.jlbn.com] (testing ftp server)
[www.jlbn.com] (testing flashes)
[www.jlbn.com] (testing images)
[joomla.jlbn.com] (testing Joomla 1.0.10)
[fusion.jlbn.com] (testing phpFusion 6.01.6)
[nuke.jlbn.com] (testing phpNuke 7.9)
[nukep.jlbn.com] (testing phpNuke Platinum 7.6.b.4v2)
[pnuke.jlbn.com] (testing PostNuke 0.800-MS2)

Options: ReplyQuote
Re: Mysql Script Directory
Posted by: Buksy (---.antik.sk)
Date: December 29, 2006 11:33PM

you must write where the file is
for example
source C:/mysql/my_mysql_script.sql

Options: ReplyQuote
Re: Mysql Script Directory
Posted by: Eduardo (---.speedy.com.ar)
Date: December 30, 2006 05:48AM

yfastud:
I try it but the databese is too big!!

Busky:
Thks! Work ok!!!

Options: ReplyQuote


Sorry, only registered users may post in this forum.