Op 07-08-2023 om 18:32 schreef paste...@gmx.com:
i tried to do the following but i don't seem to get what is going on here - i'd
appreciate if you could show me the error of my ways
I'm not sure about the packet numbering after the initial stage.
But I've got some more code for getting the data.
It's not yet perfected but it gets the columns and rows.
First command does a SHOW DATABASES.
Second command does a select host, user, password from user on the mysql
database (for this the database at the top needs to be set to mysql, I
haven't testen USE MYSQL yet ;) )
Code is at https://gist.github.com/rvk01/ac22d368b8d1f7d537cf0c67389bda20
(revision 2 of my gist)
Still a rough draft ;)
Some code could still be compressed/cleaned up (like error checking etc).
Grtz,
Rik
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public