Open wabson opened 9 years ago
@wabson thanks for reporting, we'll investigate
I'll ask someone to take care of this task soon
I could not reproduce the error using Windows 8. The problem is that I get the error of the issue 39 instead (for both master and 0.9 tag): https://github.com/jcabi/jcabi-mysql-maven-plugin/issues/39 MySQL is not able to find the configuration file (my-default.cnf) On Windows 8.1 I get this output when trying to build the project using: mvn clean install -Pqulice
[info] $ perl c:\Users\Pau\workspace\jcabi-mysql-maven-plugin\target\mysql-dist\
scripts\mysql_install_db.pl --defaults-file=C:\Users\Pau\AppData\Local\Temp\1434
801012854-0\my-default.cnf --force --innodb_use_native_aio=0 --datadir=C:\Users\
Pau\AppData\Local\Temp\1434801012854-0\data --basedir=c:\Users\Pau\workspace\jca
bi-mysql-maven-plugin\target\mysql-dist
[info] >> FATAL ERROR: Could not find my-default.cnf
[info] >>
[info] >> If you compiled from source, you need to run 'make install' to
[info] >> copy the software into the correct location ready for operation.
[info] >>
[info] >> If you are using a binary release, you must either be at the top
[info] >> level of the extracted archive, or pass the --basedir option
[info] >> pointing to that location.
[info] >>
[info] $ c:\Users\Pau\workspace\jcabi-mysql-maven-plugin\target\mysql-dist\bin\m
ysqld.exe --no-defaults --user=Pau --general_log --console --innodb_buffer_pool_
size=64M --innodb_log_file_size=64M --log_warnings --innodb_use_native_aio=0 --b
Therefore I can not finalize this specific issue.
I have version 0.9.0 of the plugin working under Linux and OS X, but under Windows 7 it appears that
mysql_install_db.pl
does not properly create the required system tables for the MySQL server to be able to start.This was first reported by another of our developers and I have since reproduced the problem myself on a pretty vanilla Windows7 VM that I use for testing, on which I installed ActiveState Perl 5.20.
Interestingly there is no error reported by the perl script, but the warning about table
mysql.plugin
followed by the error regardingmysql.host
suggests that the tables are not being installed properly.I have configured the plugin to use the 5.5.34 distribution, since 5.6.14 and 5.6.21 are not able to run on Windows 7 due to separate issues.
After reading the comments on issue 39 I updated my configuration and verified that version 0.7 of the plugin does work OK on the same Windows 7 VM, so this would appear to be a problem with v0.9.