Test errors with Perl Module DBD::mysql

Test errors with Perl Module DBD::mysql

am 24.09.2002 17:17:09 von marek.rouchal

Hello,

I have problems building the DBD::mysql module - there are errors in the
tests (see below for details). Configuration:

Module: DBD-mysql-2.1019
OS: Solaris 7, Sparc
Perl: 5.8.0, with ithreads
DBI: 1.30
Mysql: 3.23.49

Seems to me as if there is the user name missing somewhere...
All other tests are ok.

Hope this helps,

Marek


t/dbdadmin.........1..20
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
Error while executing _DropDB: Access denied for user: '@localhost' to
database 'testad'not ok 7
New DB not removed from DSN list
not ok 8
$drh->admin('createdb') failed: Access denied for user: '@localhost' to
database 'testae'
not ok 9
DSN testae not in DSN list.
not ok 10
$drh->admin('dropdb') failed: Access denied for user: '@localhost' to
database 'testae'
not ok 11
ok 12
$drh->admin('createdb') failed: Access denied for user: '@localhost' to
database 'testaf'
not ok 13
DSN testaf not in DSN list.
not ok 14
$drh->admin('dropdb') failed: Access denied for user: '@localhost' to
database 'testaf'
not ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
FAILED tests 7-11, 13-15
Failed 8/20 tests, 60.00% okay
t/insertid.........1..12

------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1928@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Test errors with Perl Module DBD::mysql

am 27.09.2002 19:09:32 von fision

You have to specify an user and password with enougth privileges if you w=
ant=20
to do theese tests, like this:

perl Makefile.PL --testuser=3Droot --testpassword=3Dpass --testhost=3Dsom=
ehost
(after this, it will show you the test parameters)
make
make test
make install

also, you can try:
perl Makefile.PL --help
to get a more complete help.

Regards,
Ni=F1o Fision

El Mar 24 Sep 2002 12:17, marek.rouchal@infineon.com escribi=F3:
> Hello,
>
> I have problems building the DBD::mysql module - there are errors in th=
e
> tests (see below for details). Configuration:
>
> Module: DBD-mysql-2.1019
> OS: Solaris 7, Sparc
> Perl: 5.8.0, with ithreads
> DBI: 1.30
> Mysql: 3.23.49
>
> Seems to me as if there is the user name missing somewhere...
> All other tests are ok.
>
> Hope this helps,
>
> Marek
>
>
> t/dbdadmin.........1..20
> ok 1
> ok 2
> ok 3
> ok 4
> ok 5
> ok 6
> Error while executing _DropDB: Access denied for user: '@localhost' to
> database 'testad'not ok 7
> New DB not removed from DSN list
> not ok 8
> $drh->admin('createdb') failed: Access denied for user: '@localhost' to
> database 'testae'
> not ok 9
> DSN testae not in DSN list.
> not ok 10
> $drh->admin('dropdb') failed: Access denied for user: '@localhost' to
> database 'testae'
> not ok 11
> ok 12
> $drh->admin('createdb') failed: Access denied for user: '@localhost' to
> database 'testaf'
> not ok 13
> DSN testaf not in DSN list.
> not ok 14
> $drh->admin('dropdb') failed: Access denied for user: '@localhost' to
> database 'testaf'
> not ok 15
> ok 16
> ok 17
> ok 18
> ok 19
> ok 20
> FAILED tests 7-11, 13-15
> Failed 8/20 tests, 60.00% okay
> t/insertid.........1..12
>
> ------------------------------------------------------------ ---------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" befo=
re
> posting. To request this thread, e-mail
> msql-mysql-modules-thread1928@lists.mysql.com
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1933@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.

Re: Test errors with Perl Module DBD::mysql

am 27.09.2002 19:09:32 von fision

You have to specify an user and password with enougth privileges if you w=
ant=20
to do theese tests, like this:

perl Makefile.PL --testuser=3Droot --testpassword=3Dpass --testhost=3Dsom=
ehost
(after this, it will show you the test parameters)
make
make test
make install

also, you can try:
perl Makefile.PL --help
to get a more complete help.

Regards,
Ni=F1o Fision

El Mar 24 Sep 2002 12:17, marek.rouchal@infineon.com escribi=F3:
> Hello,
>
> I have problems building the DBD::mysql module - there are errors in th=
e
> tests (see below for details). Configuration:
>
> Module: DBD-mysql-2.1019
> OS: Solaris 7, Sparc
> Perl: 5.8.0, with ithreads
> DBI: 1.30
> Mysql: 3.23.49
>
> Seems to me as if there is the user name missing somewhere...
> All other tests are ok.
>
> Hope this helps,
>
> Marek
>
>
> t/dbdadmin.........1..20
> ok 1
> ok 2
> ok 3
> ok 4
> ok 5
> ok 6
> Error while executing _DropDB: Access denied for user: '@localhost' to
> database 'testad'not ok 7
> New DB not removed from DSN list
> not ok 8
> $drh->admin('createdb') failed: Access denied for user: '@localhost' to
> database 'testae'
> not ok 9
> DSN testae not in DSN list.
> not ok 10
> $drh->admin('dropdb') failed: Access denied for user: '@localhost' to
> database 'testae'
> not ok 11
> ok 12
> $drh->admin('createdb') failed: Access denied for user: '@localhost' to
> database 'testaf'
> not ok 13
> DSN testaf not in DSN list.
> not ok 14
> $drh->admin('dropdb') failed: Access denied for user: '@localhost' to
> database 'testaf'
> not ok 15
> ok 16
> ok 17
> ok 18
> ok 19
> ok 20
> FAILED tests 7-11, 13-15
> Failed 8/20 tests, 60.00% okay
> t/insertid.........1..12
>
> ------------------------------------------------------------ ---------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" befo=
re
> posting. To request this thread, e-mail
> msql-mysql-modules-thread1928@lists.mysql.com
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1933@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.