MySQL Forums
Forum List  »  Newbie

Re: MySQL Import Automation
Posted by: Phillip Ward
Date: June 04, 2025 04:04AM

1. Do yourself (and others) a favour and lose the "On Error Resume Next"

This directive "masks" any and all errors, allowing the code to plough on regardless, no matter what happens. Not what you want for Production code, I would suggest.


Thank you for sharing your password with us.

2a. Go and change this password immediately.

2b. Learn how to supply credentials to MySQL utility program securely.
https://dev.mysql.com/doc/refman/8.4/en/option-files.html


3. To access MySQL on another host, use the "--host <hostname>" option.

Regards, Phill W.

Options: ReplyQuote


Subject
Written By
Posted
May 24, 2025 01:38AM
Re: MySQL Import Automation
June 04, 2025 04:04AM


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.