sys4/automx

MySQL backend doesn't work on CentOS 7/httpd 2.4

Closed this issue · 1 comments

ms217 commented

First I must say that AutoMX actually works as expected.

However, when I try to use MySQL lookups literally no lookup is happening. AutoMX doesn't even connect to the database eventhough sqlalchemy is installed. MySQL general log and bin logs doesn't even have any mysql logins logged (also no failed logins), so I have to guess that this is a bug/incompatiblity.

Is this already known?

The following versions are installed (automx trunk):
python -V
Python 2.7.5

pip show sqlalchemy
Name: SQLAlchemy
Version: 1.0.6
Location: /usr/lib64/python2.7/site-packages
Requires:

ms217 commented

Somehow that's funny...
I did look many times into the automx debug logs but always missed the line:

ERROR: SQL: No module named MySQLdb

So, after installing the missing python mysql package AutoMX works right now as expected.
I couldn't see that anywhere in the docs, so maybe the docs should be updated with the missing information.

another update: ok, it's actually stated in the docs that the driver has to be installed but maybe it could be more emphasised that a "pip install MySQL-python" is also necessary.

However, excuse me for the trouble about, actually nothing :-)