Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see:
viewtopic.php?t=158230
If none of the specific sub-forums seem right for your thread, ask here.
leveret
Posts: 9 Joined: 2017-06-26 10:56
#1
Post
by leveret » 2017-06-26 11:00
I upgraded to stretch.
My mysql database migrated and I can read it. I have a django project that relies on libmysqlclient.so.18 to access mysql.
what should i do to make sure it can access it?
Code: Select all
raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: libmysqlclient.so.18: cannot open shared object file: No such file or directory
leveret
Posts: 9 Joined: 2017-06-26 10:56
#3
Post
by leveret » 2017-06-26 11:39
thanks for the quick reply. can you tell me what package is libmariadb.so.3 part of? because it is not on my system...
orythem27
Posts: 252 Joined: 2017-05-11 07:59
Location: P.R. China
#4
Post
by orythem27 » 2017-06-26 12:41
Try symlinking /usr/lib/x86_64-linux-gnu/libmariadbclient.so.18 to /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 and see if it works?
/usr/lib/x86_64-linux-gnu/libmariadbclient.so.18 is provided by libmariadbclient18
leveret
Posts: 9 Joined: 2017-06-26 10:56
#5
Post
by leveret » 2017-06-27 00:27
thanks.
I did
Code: Select all
ln -s /usr/lib/x86_64-linux-gnu/libmariadbclient.so.18 to /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
as I already had libmariadbclient18 installed. but they do not seem to be compatible.
Code: Select all
raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18: version `libmysqlclient_18' not found (required by /usr/local/lib/python2.7/dist-packages/_mysql.so)