Update the MySQL Client (all platforms)

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
rishi
Posts: 25
Joined: Wed Apr 12, 2006 12:23 am
Contact:

Update the MySQL Client (all platforms)

Post by rishi » Tue Aug 01, 2006 1:53 am

As I understand it, RunRev uses a MySQL 4.0 version client to perform MySQL database operations (certainly under Linux anyway).

MySQL connection security has been upgraded in MySQL version 4.1 and onwards (current release is 5.0). A quote from the MySQL relevant information page.
The password hashing mechanism was updated in MySQL 4.1 to provide better security and to reduce the risk of passwords being intercepted. However, this new mechanism is understood only by the 4.1 server and 4.1 clients, which can result in some compatibility problems. A 4.1 client can connect to a pre-4.1 server, because the client understands both the old and new password hashing mechanisms. However, a pre-4.1 client that attempts to connect to a 4.1 server may run into difficulties. For example, a 4.0 mysql client that attempts to connect to a 4.1 server may fail with the following error message:

shell> mysql -h localhost -u root
Client does not support authentication protocol requested
by server; consider upgrading MySQL client
Currently if you develop a RunRev app that needs to connect with an existing MySQL database server that is version 4.1 or above, you will need to re-configure the server to use the old style, less secure passwords. The MySQL web article (above) states that the older client used by RunRev is less secure than the new client, even if you don't consider the password strength issue.

So, security of your database driven apps would benefit from an update to the database clients. This might be very important to some clients operating in production web server environments.

Keep up the good work RunRev,
--
Rishi Viner
Australia

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Tue Aug 01, 2006 4:17 am

Hi Rishi,

The Revolution crew addressed this in the latest version 2.7.2 - from the "What's New" file:
The MySQL driver is now linked against the latest version of the MySQL
client library (5.0.23).
The PostgreSQL driver is now linked against the latest version of the
PostgreSQL client library (8.1.3).
The ODBC driver is now linked against the latest version of iODBC (3.52.4)
on non-Windows platforms.
The Oracle driver remains unchanged, pending the release on a universal
binary version of the Oracle Instant Client SDK software.

In these cases, the database driver is statically linked with the client
libraries meaning there are no external dependencies on other libraries or
files. (In the case of ODBC, it still necessary to have the required ODBC
back-end drivers installed and data sources configured).
Hope this clarified the situation,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

rishi
Posts: 25
Joined: Wed Apr 12, 2006 12:23 am
Contact:

Post by rishi » Tue Aug 01, 2006 6:55 am

Thanks Jan,
The Revolution crew addressed this in the latest version 2.7.2
Oops, I am still using 2.5.1, but didn't notice this in the what's new...

The Linux version is still at 2.6.2 is it not? Are the database client libraries updated in 2.6.2 as well or is this update only in 2.7.2?

Still searching the Rev site for confirmation...
--
Rishi Viner
Australia

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Tue Aug 01, 2006 2:29 pm

Hi Rishi,

The Linux version is still at 2.6.1, and won't be updated separately.
I'm sure you're not the only one hoping that the next revision of Rev (2.7.3) will herald the return of Linux and MacOS Classic, any day now...

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

ludo
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 72
Joined: Mon Dec 03, 2007 6:10 pm

Re: Update the MySQL Client (all platforms)

Post by ludo » Mon Mar 02, 2020 2:29 pm

Hello,

Same problem with Livecode 9.6.
Any workaround ? (I cannot change settings on the mysql server side).

Thanks

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Update the MySQL Client (all platforms)

Post by FourthWorld » Mon Mar 02, 2020 6:58 pm

This thread was resurrected from 14 years ago. Can you describe what you're experiencing with LiveCode 9.6?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

xyz
Posts: 30
Joined: Sat Feb 29, 2020 4:45 am

Re: Update the MySQL Client (all platforms)

Post by xyz » Thu Apr 23, 2020 7:55 pm

I am getting the same error.
Unable to connect to the database.
Client does not support authentication protocol requested by server; consider upgrading MySQL client.
I am using Livecode v. 9.5.1 and MySQL Community Server v. 8.0.19.

Post Reply