1044 access denied error after upgrade

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
neilld
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 23.11.2018, 18:01

1044 access denied error after upgrade

Post by neilld »

Just upgraded from 7.1.4 to 7.2.4 and my previously working app has stopped.
I've tracked it down to the mySQL database name being all in capitals. Looking at the SQL monitor output, it generates a SHOW TABLES FROM statement and at that point, converts the database name into lower case, resulting in an error.
Connecting to an identical database with a name consisting of upper and lower case characters works fine.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: 1044 access denied error after upgrade

Post by marsupilami »

Hello,

what is your environment? Which Delphi version do you use or which Lazarus version? And are you on Linux or Windows?

Could you please check, wether that also happen with the current patches version of Zeos 7.2 where we fixed some bugs lke this one? See here: https://sourceforge.net/p/zeoslib/code-0/HEAD/tree/.
Please check the branches/7.2-patches branch.

Best regards,

Jan
neilld
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 23.11.2018, 18:01

Re: 1044 access denied error after upgrade

Post by neilld »

Hi. Thanks for your reply.
I'm using Delphi 7 and accessing an online mySQL 5 database. The database is called EPF (in capitals).
Worked fine in the same environment using 7.1.4.
I'll see if I can figure out how to download and install the patches and see if it makes any difference.
Neill.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: 1044 access denied error after upgrade

Post by marsupilami »

Hello Neill,

do you know if that database is run on Windows or Linux? Some rules of how database objects are treated in MySQL depend on the OS - eg. database EPF is the same as database epf on Windows but on Linux that would be different databases?

Best regards,

Jan
neilld
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 23.11.2018, 18:01

Re: 1044 access denied error after upgrade

Post by neilld »

Hi Jan.
It's almost certainly Linux hosted.
Thanks,
Neill.
mwinter
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 28.10.2019, 08:03

Re: 1044 access denied error after upgrade

Post by mwinter »

Hi,
I am facing the sam problem.
Did you find any solution?
Thanks
Michael
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: 1044 access denied error after upgrade

Post by marsupilami »

Hello Michael,

are you using the current Zeos 7.2.6 version?

Best regards,

Jan
Germano
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 02.03.2020, 18:34

Re: 1044 access denied error after upgrade

Post by Germano »

I have the same problem.
My hosted base: Linux
Base name: MYBASE (uppercase)
IDE: Delphi 2007
Zeos: 7.6.2.1-Stable (updated files similar to Patches-7.2)

By Delphi in design time it works correctly, however connecting by .exe (after compiled) Zeos changes the base name to: mybase (lowercase).
Can you help, please?
Post Reply