how to check connection with do_mysql ??

0 views
Skip to first unread message

WaYdotNET

unread,
Nov 25, 2009, 11:59:07 AM11/25/09
to DataMapper
Hi to all,
how to check if mysql is running and my credetial si good ??

my_conn = DataMapper.setup(:default,
:adapter => 'mysql',
:host => 'host1',
:username => 'demo',
:password => 'demo@test',
:database => 'demo_dev'
)

Many thx
Reply all
Reply to author
Forward
0 new messages