MySQL Forums
Forum List  »  Security

Secure Configuration for MySQL
Posted by: Cyber Phantom
Date: September 10, 2018 12:31PM

I am currently working on a personal project where I have multiple Android applications communicating with a server. This server was created with Python's Flask framework and utilizes a MySQL local server.

For more of a production like setup in the near future, what is the best practice for configuring the MySQL credentials such as user, pass, database, host. Currently, I have my file pointing to a file with these secrets.cfg. Should values in mysql.cfg be encrypted in some way? Anything else I should know about this?

This is the line of code in that tells my database where it's credentials are:

connection = mysql.connector.connect(option_files='mysql.cfg')

Options: ReplyQuote

Written By
Secure Configuration for MySQL
September 10, 2018 12:31PM
September 10, 2018 03:26PM
September 26, 2018 10:49AM

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.