Today's problems with Linux

Source: Internet
Author: User

Before due to testing needs, must use the mysql5.7 client, now because the product is perfect, began to support 5.6, so need to install 5.6 of the client to do the test, considering the efficiency of manual testing and non-repeatability, ready to automate the implementation of the original use cases.

The old use case is to use mysqldb do driver, mysqldb by default is 5.6, at that time in order to use 5.7 for a special treatment (TODO: here to add steps), now want to reuse 5.6, the idea is to install a 5.6, and then the use of 5.7 of the MySQLdb deleted, The result is not feasible, always reported a libmysqlclient._20xxx can not find the error, speculation or affected by the original. Before the mysql5.7 installation package added to the path, want to remove from path, but the addition of the operation is set in the Dockerfile, so in ~/.BASHRC ~/.profile did not find the relevant value.

The final solution is a in the image file MySQLdb Special processing part of the deletion, b the path path of 5.7 Delete, only do a, do not do B still do not work, the first can, but the follow-up do not know why there is no libmysqlclient._20xxx error

Todo:

1 MySQLdb How to set up using a specific mysqlclient version

2

Today's problems with Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.