MySQL Forums
Forum List  »  Connector/Python

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

$python3 -H --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

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

Sorry, only registered users may post in this forum.

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.