Hi all,
mySQL 8.0.20-community on MacOS Mojave.
During the installation,
they ask to choose between a strong or legacy encryption.
Do the 2 options work with LC 9 ? if not, which one ?
Thanks
Thierry
mySQL install: which password setting works with LC
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 795
- Joined: Wed Nov 22, 2006 3:42 pm
- Location: France
- Contact:
mySQL install: which password setting works with LC
Regex ❤ LiveCode ❤ sunnYrex
https://sunny-tdz.com
https://sunny-tdz.com
-
- Livecode Opensource Backer
- Posts: 362
- Joined: Tue Apr 10, 2012 9:18 am
Re: mySQL install: which password setting works with LC
You might consider creating your root user with the strongest password settings you can. That user will have full global permissions. Then after you have your database(s) set up, create a secondary user. The secondary user will have minimal permissions only on the database it needs to work with.
-
- VIP Livecode Opensource Backer
- Posts: 795
- Joined: Wed Nov 22, 2006 3:42 pm
- Location: France
- Contact:
Re: mySQL install: which password setting works with LC
Thanks for your answer, and yes, I'm aware of this.ghettocottage wrote: ↑Sat May 09, 2020 7:06 pmYou might consider creating your root user with the strongest password .....
My question was related to the settings during mySql server install:
about the new 2 passwords encryption option, you can read (see picture in the OP )
that some clients could be unable to connect to the database then...
Thus the question: what about LiveCode if I choose the 1st option?
This mySQL server on my Mac is only for development purpose,
so, really I don't care much about security,
except I was scared that I couldn't connect with LC...
Hope this clarify a bit my question...
Thierry
Regex ❤ LiveCode ❤ sunnYrex
https://sunny-tdz.com
https://sunny-tdz.com
Re: mySQL install: which password setting works with LC
Hi,
cannot do any tests (don't have local mySQLs & those remote ones I use are not to be fiddled with ...), but as I see it & read the docu there shouldn't be a problem as long as you only use passwords to connect, and not the "PASSWORD()" function:
Take this with a handful of salt - but the worst that could happen would be that you'd need to uninstall/ reinstall with "Legacy encryption", right?
Hope this helps, have fun!
*) From "Famous last words" ;-)
cannot do any tests (don't have local mySQLs & those remote ones I use are not to be fiddled with ...), but as I see it & read the docu there shouldn't be a problem as long as you only use passwords to connect, and not the "PASSWORD()" function:
You get your password (and user name) from the database settings, throw it to the db during the revdb_connect, what could possibly go wrong? *) As far as I understand it's only the internal hashing & the "PASSWORD()" function that got updated.https://dev.mysql.com/doc/refman/5.6/en/application-password-use.html wrote:If you [...] run the server under conditions where it generates long password hashes, an application using PASSWORD() for its own passwords breaks. The recommended course of action in such cases is to modify the application to use another function, such as SHA2(), SHA1(), or MD5(), to produce hashed values.
Take this with a handful of salt - but the worst that could happen would be that you'd need to uninstall/ reinstall with "Legacy encryption", right?
Hope this helps, have fun!
*) From "Famous last words" ;-)
Livecode programming until the cat hits the fan ...
-
- VIP Livecode Opensource Backer
- Posts: 795
- Joined: Wed Nov 22, 2006 3:42 pm
- Location: France
- Contact:
Re: mySQL install: which password setting works with LC
Thanks a lot, AxWald.
I'll do my homework now
Thierry
I'll do my homework now

Thierry
Regex ❤ LiveCode ❤ sunnYrex
https://sunny-tdz.com
https://sunny-tdz.com