Did you download the packages from the AlexT's repo? If so, why don't you try building them from source, you might get different results.
I will post a couple of links that you might find helpful.
I see… I suggested to build the packages from source because, I've had some issues (not sure why) with some packages that I downloaded from AlexT's repo when I used them as dependencies for other packages (not found on AlexT's repo). So, I thought you might be having a similar behavior. Try it and let us know how it goes.
ok now i got it working... i forgot the libmysqlclient-r, however i cant remember that one was yesterday already in alex repo And i still got an error that a link as missing
now it looks like ... although some of the packages might still be superfluous
opkg install git
opkg install python-pip
opkg install mariadb
opkg install libmysqlclient-r
opkg install libmysqlclient-dev
opkg install libmysqlclient18
opkg install libmysqld18
opkg install apache2
--- not really sure if this was an issue but it solved the problem ---
ln -s libmysqlclient_r.so.18 libmysqlclient_r.so
pip install MySQL-python
thanks peter for your help