Direct access to MySQL console

Forum related to MySQL

Moderators: gto, cipto_kh, EgonHugeist

aradeonas
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 19.02.2016, 13:29

Direct access to MySQL console

Postby aradeonas » 21.02.2016, 20:47

Hi,

Is there a way to direct access to MySQL console?
For example send "Use database" and get result "Database changed " from Mysql like when you use Mysql service from command line or terminal?

marsupilami
Gold Boarder
Gold Boarder
Posts: 625
Joined: 17.01.2011, 14:17

Re: Direct access to MySQL console

Postby marsupilami » 25.02.2016, 09:45

Hello aradeonas,

I assume your use case is not possible with Zeos right now. There is some possibility at the DBC level of Zeos to pass Warnings - and in this way also messages - from the server to your code. But it seems that the Zeos MySQL driver doesn't implement that. If you want to see if it is worth your time to try to implement it, you could check the function TZDbcConnection.GetWarnings and try to get a working implementation for MySQL. If you have any questions don't hesitate to let me know.

With best regards,

Jan


Return to “MySQL”

Who is online

Users browsing this forum: No registered users and 1 guest