hi all
I use the DBI to connect the mysql4.1.11 but the error was showed as below
#<Mysql:0x2dc26c8>
Server version: 4.1.11-nt
4.1.11-nt
#<DBI::DatabaseHandle:0x2dc0c10>
true
handle.....
#<Mysql:0x2dc26c8> //handle of database connection
Server version: 4.1.11-nt
4.1.11-nt
#<DBI::DatabaseHandle:0x2dc0c10>
true
handle.....
#<Mysql:0x2dc26c8> //handle of database connection
//above is the info I printed
c:/program files/ruby/lib/ruby/site_ruby/1.8/DBD/Mysql/Mysql.rb:238:in `tables':
#3D000No database selected (DBI::DatabaseError)
from c:/program files/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:674:in `tab
les'
from 4.rb:14
c:/program files/ruby/lib/ruby/site_ruby/1.8/DBD/Mysql/Mysql.rb:238:in `tables':
#3D000No database selected (DBI::DatabaseError)
from c:/program files/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:674:in `tab
les'
from 4.rb:14
F:\rbtest>
Does anybody meet this error before?
any advice is appreciated
Thank you
Jim
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
