When I connect to a MySQL database,distributed deployment, It report this error as shown in the figure;
SQL错误(1046):No HotDB Database selected;
HotDB is a distributed transaction database product
Please help to check it
That tells you the
SELECT NOW()
is causing that error. Never saw that on normal MySQL or MariaDB installations. Must be specific to this HotDB, could that be?
I use the command line to specify that the database does not report an error.
Use heidisql to specify a database does not work
As you can see in your first screen, SELECT NOW()
is also broken with the command line interface, where you don't have a database selected. The issue not specific to HeidiSQL.
I guess you passed a database in the second command line, so the error does not happen then.
This is obviously an issue in that SeaSQL or HotDB MySQL distribution, and should be fixed there, not in HeidiSQL.
As you can see in your first screen,
SELECT NOW()
is also broken with the command line interface, where you don't have a database selected. The issue not specific to HeidiSQL.I guess you passed a database in the second command line, so the error does not happen then.
This is obviously an issue in that SeaSQL or HotDB MySQL distribution, and should be fixed there, not in HeidiSQL.
Hi,Could you please help to deal with this problem? Before SELECT NOW() is executed, if the database is specified in heidisql session, can it execute USE DATABASE first? Heidisql is the best I've ever used, and I don't want to give it up,help me,please
Please login to leave a reply, or register at first.