[转载]win10(64bit)上安装MySQL-python
https://blog.csdn.net/builder_taoge/article/details/78292302
https://blog.csdn.net/qq_26808915/article/details/50256717
https://www.codegood.com/downloads
---------------LINUX-----------------
错误:MySQLdb ImportError: libmysqlclient.so.18
1 [root@localhost ~]# which mysql 2 /datas/soft/mariadb/bin/mysql 3 [root@localhost ~]# ll /datas/soft/mariadb/lib/ 4 total 17192 5 -rw-r--r--. 1 root root 11716402 Dec 3 2015 libmysqlclient.a 6 lrwxrwxrwx. 1 root root 16 Dec 3 2015 libmysqlclient_r.a -> libmysqlclient.a 7 lrwxrwxrwx. 1 root root 17 Dec 3 2015 libmysqlclient_r.so -> libmysqlclient.so 8 lrwxrwxrwx. 1 root root 17 Dec 3 2015 libmysqlclient_r.so.18 -> libmysqlclient.so 9 lrwxrwxrwx. 1 root root 17 Dec 3 2015 libmysqlclient_r.so.18.0.0 -> libmysqlclient.so 10 lrwxrwxrwx. 1 root root 20 Dec 3 2015 libmysqlclient.so -> libmysqlclient.so.18 11 lrwxrwxrwx. 1 root root 24 Dec 3 2015 libmysqlclient.so.18 -> libmysqlclient.so.18.0.0 12 -rwxr-xr-x. 1 root root 5852949 Dec 3 2015 libmysqlclient.so.18.0.0 13 -rw-r--r--. 1 root root 25814 Dec 3 2015 libmysqlservices.a 14 drwxr-xr-x. 2 root root 4096 Dec 3 2015 plugin 15 [root@localhost ~]# ll /datas/soft/mariadb/lib/libmysqlclient.so.18.0.0 16 -rwxr-xr-x. 1 root root 5852949 Dec 3 2015 /datas/soft/mariadb/lib/libmysqlclient.so.18.0.0 17 [root@localhost ~]# ln -s /datas/soft/mariadb/lib/libmysqlclient.so.18.0.0 /usr/lib64/libmysqlclient.so.18^C 18 [root@localhost ~]#