tomcat fails to connect with mysql after upgrading to Slackware 14.2
I've just upgraded my OS from Slackware 14.1 to 14.2. After doing so, my jsp/tomcat programs can no longer connect to mysql. I get the error:
Quote:
current mysql version: 15.1 Distrib 10.0.29-MariaDB previous mysql Ver 15.1 Distrib 5.5.40-MariaDB my java driver string is "com.mysql.jdbc.Driver", and my connection string/URL is "jdbc:mysql://localhost/members?user=user&password=password" I cannot telnet to port 3306. I can do queries from the command line, no problem. I have errors in /var/lib/mysql/hostname.err (partial): Code:
170216 9:52:02 [ERROR] Native table 'performance_schema'.'users' has the wrong structure Any ideas? |
Quote:
Regards |
Quote:
Code:
$ ps ax | egrep -i "mysql|maria" | grep -v grep |
Quote:
|
Your exactly right!!! That was it. After the upgrade, I must have told it the replace the current rc.mysqld with the rc.mysqld.new, the latter having '--skip-networking' set. Normally, I don't update the rc or config files for things I am using -- I'll check out the new versions later. BUT, in this case I apparently did clobber the running rc.mysqld with the new release vanilla version!
Thanks! |
All times are GMT -5. The time now is 02:08 AM. |