Subject: | sqlt CLI bug report |
Date: | Sun, 29 Apr 2007 12:16:54 +0330 |
To: | bug-SQL-Translator [...] rt.cpan.org |
From: | Davood Firoozian <davood [...] ozino.com> |
Hia,
sqlt -d -dsn 'dbi:mysql:dbname=dbname:host=ha' --db-user='dbu'
--db-password="dbp" -t MySQL
(NOTE: a table named group exists in database)
*[SQL::Translator] Got parser: code ref
[SQL::Translator] Got producer: code ref
"my" variable $v masks earlier declaration in same scope at
/usr/lib/perl5/site_perl/5.8.7/SQL/Translator/Parser/DBI/DB2.pm line 274.
[SQL::Translator] Got parser: SQL::Translator::Parser::DBI::parse
[SQL::Translator] Got producer: SQL::Translator::Producer::MySQL::produce
DBD::mysql::st execute failed: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near 'group' at line 1 at
/usr/lib/perl5/site_perl/5.8.7/SQL/Translator/Parser/DBI/MySQL.pm line 60.
Error: translate: Error with parser 'SQL::Translator::Parser::DBI':
DBD::mysql::st execute failed: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near 'group' at line 1 at
/usr/lib/perl5/site_perl/5.8.7/SQL/Translator/Parser/DBI/MySQL.pm line 60.
*
------------------------------------------------------------------------
sqlt -quote-table-names -d -dsn 'dbi:mysql:dbname=dbname:host=ha'
--db-user='dbu' --db-password="dbp" -t MySQL
*Unknown option: quote-table-names*
------------------------------------------------------------------------
Trying Class::Schema Files:
sqlt -f SQL::Translator::Parser::DBIx::Class -t MySQL --prefix
DBIx::Class CmsDB -d
*
[SQL::Translator] Got parser: code ref
[SQL::Translator] Got producer: code ref
[SQL::Translator] Got parser: SQL::Translator::Parser::DBIx::Class::parse
[SQL::Translator] Got producer: SQL::Translator::Producer::MySQL::produce
Error: translate: Error with parser
'SQL::Translator::Parser::DBIx::Class': No DBIx::Schema at
/usr/lib/perl5/site_perl/5.8.7/SQL/Translator/Parser/DBIx/Class.pm line 34.*
--
Kindly Regards
Davood Firoozian
Proud Developer
Ozino Group http://www.ozino.com
Message body is not shown because sender requested not to inline it.