MySQL Forums
Forum List  »  Newbie

Re: Command Line
Posted by: Paul McArdle
Date: June 28, 2005 09:01PM

mysql -uroot -ppassword -D warmheart -b --execute='select now();'
mysql -uroot -ppassword -D warmheart -b < '/tmp/try.sql'
[root@localhost root]# mysql -uroot -ppassword -D warmheart -b
< '/root/try.sql'
Tables_in_test
a
aaaa
animal
animal666
b
employees
fund
houses
owners
pet
test_view
timecards


cat try.sql
use test;
show tables;

Options: ReplyQuote


Subject
Written By
Posted
June 28, 2005 08:59AM
June 28, 2005 12:51PM
June 28, 2005 06:09PM
June 28, 2005 06:14PM
Re: Command Line
June 28, 2005 09:01PM
June 29, 2005 03:52PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.