QueueMetrics > QueueMetrics installation
Unable to finish "JDBC connection tester"
QueueMetrics:
Because the error you seem to have is that a table is missing, but that table is created by default since a very old installation.
The MySQL connector has no "physical" dependencies - is it available in the WEB-INF/lib/ path? (even if it is installed on the system, QM may not see it if it's not copied in the correct location).
mhcordeiro:
MYSQL Connector is there. I checked WEB-INF/lib path and it had a logical link pointing to the file. Just to make sure I copied the file to the location, but it still not working.
I tried to load database configuration again (mysql -p < queuemetrics_sample.sql
) , and I get the following error:
ERROR 1046 (3D000) at line 28: No database selected
mhcordeiro:
Sorry my bad!! I was executing the load of the MYSQL Database in a wrong way, not specifying the destination database to the queuemetrics_sample.sql file.
After doing it in the right way as showed below, problem was solved.
mysql --user=queuemetrics --password=javadude queuemetrics < queuemetrics_sample.sql
Thanks,
Marco
QueueMetrics:
So the problem was that Qm was not finding its own tables in the DB. Maybe we should add a sanity check - if there are no tables in the DB, just refuse to upgrade.
Navigation
[0] Message Index
[*] Previous page
Go to full version