Closed hanbeibei closed 9 years ago
This is just a warning saying that because DBI can not connect to the default mysql database it skips the mysql tests. here is where the test tries to connect to localhost mysql server. https://github.com/kberov/DBIx--Simple--Class/blob/master/t/02-dbix-simple-class-mysql.t#L39
ok...but it not skip the test.. and I can not continue..
On Fri, Apr 10, 2015 at 5:27 PM, Красимир Беров notifications@github.com wrote:
This is just a warning saying that because DBI can not connect to the default mysql database it spips the mysql tests.
— Reply to this email directly or view it on GitHub https://github.com/kberov/DBIx--Simple--Class/issues/2#issuecomment-91492158 .
Greetings Oliver
Not sure what happened then. The information above clearly says "skipped: DBI..." and it should really do it, and tests should PASS. You can see what exactly happens in the code by following the link I provided above.
You also can skip tests.
If you install using cpanm
you can do:
cpanm -n DBIx::Simple::Class
or in a cpan shell:
cpan[1]> notest install DBIx::Simple::Class
t/02-dbix-simple-class-mysql.t .......... skipped: DBI connect('database=test;host=127.0.0.1;mysql_enable_utf8=1','',...) failed: Host 'li408-104.members.linode.com' is not allowed to connect to this MySQL server at t/02-dbix-simple-class-mysql.t line 38.