MySQL Forums
Forum List  »  Connector/Python

Re: How to perform unit testing
Posted by: hao peng
Date: June 08, 2023 03:47AM

$python3 unittests.py -H 11.124.45.21 --port=4037 --user=ph
2023-06-08 17:46:37,052 [myconnpy_tests:INFO] MySQL Connector/Python unittest using Python v3.7.3
2023-06-08 17:46:37,052 [myconnpy_tests:INFO] Locating mysql binaries (could take a while)
2023-06-08 17:46:37,052 [myconnpy_tests:ERROR] Failed initializing MySQL server 'server1': MySQL binaries not found under /usr/local/mysql

Why does it still default to connecting to the local database during execution

Options: ReplyQuote


Subject
Written By
Posted
June 08, 2023 03:08AM
Re: How to perform unit testing
June 08, 2023 03:47AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.