Forum Replies Created
-
AuthorPosts
-
peterlaursen
ParticipantSo this VPS does not have 32 bit support installed as default, I understand.
peterlaursen
ParticipantAdditionally a user may open an unlimited connection windows to same server from one SQLyog instance (from 'file' menu) or even multiple program instances can run simultaneously.
peterlaursen
ParticipantData Comparison is available in the Data Synchronization feature. If you do not want to actually change anything use the option to 'generate sync script'.
peterlaursen
ParticipantAre any background connections ever made?
Yes, specific functionalities run in their own thread and use a seperate connection. Imports, exports, data sync for instance. All SJA modules will use one thread for the GUI wizard and one for the executable. Addditionally autocomplete functionlaity is using its own thread/connection. As I calculate that means that there can be up to 4 connections at a time (example: the main window, the autocompelte thread, a GUI wizard thread and a SJA executable)
You will not find i GUI client working properly in a single conenction I believe. Problem is that the MySQL client/server protocol does not support parallellism. Once a query is sent from a client the client can only wait for the server response arriving in that conenction.
Is it possible to ensure only one connection per host is active at any given time?
This can be defined when creating a user or a global setting can be defined in server configuration. In both cases it is a server-side setting. Once defined with any client it has effect for all clients. Start here: http://dev.mysql.com/doc/refman/5.1/en/user-resources.html
Is it possible to ensure only hosts that are explicitly connected to by the user are connected to?
I do not understand the question. But again such functionalities will have to be server functionalities and not client functionalities.
If the host kills the connection, is it possible to avoid the client automatically re-connecting?
No. Again you are asking for client functionalities that will have to be server functionalities.
We have had problems with hosts reaching their max connection limit
Then raise the max_connections setting in server configuration. Refer to: http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_max_connections
peterlaursen
Participant[attachment=1354:privs.jpg]
I have a `my_base` database, a `my_table` table and a `my_text` column. I can assign privileges to all those for 'my_user'@'my_host' without problem. I edited the privileges several times and did not encounter any issue.
I wonder if there is something that I do not understand?
Is there any problem for you if you use SQLyog alone to create users and objects/databases and do not use PLESK?
I do not remember much PHP any more, but there are some settings on how to handle escaping (and lots of bugs with specific PHP versions in that respect). So maybe a PHP or PLESK/PHP interfacing issue with your versions.
peterlaursen
Participantwhat happens if you rename SJA?
peterlaursen
ParticipantOK .. we will try this. I will try to get time tomorrow.
peterlaursen
ParticipantPlease let us consider this again after the weekend. We have scheduled other tasks for the rest of this week (and I do not consider it urgent).
peterlaursen
Participantdid you tell that SJA also runs from outside the /root folder tree? I do not understand the full meaning of your latest post.
peterlaursen
Participant“So, for a database on the domain “example.com” the username will be “example_com”.” bad practice as a mySQL username can only be 16 characters and a domain name can be much longer.
I tried to update a user named “my_user” from SQLyog manage privileges and it works fine on my 5.1.44. I assume that the whole thing is caused by an early 5.0 server bug. If you do not think so please explain .. and preferably verify your problem on a recent server.
peterlaursen
ParticipantIf you know the file is there why don't you ask the support of this VPS? It is not SJA that returns an error. It is the OS/file system.
Will another executable run the same way or not? Maybe you could try from another place than /root folder (some security setting may influence).
peterlaursen
ParticipantI posted: http://bugs.mysql.com/bug.php?id=52326
.. let us see if they can clarify.
peterlaursen
ParticipantWith SQLyog I created the user
SQLyog generated (note no escapes generated .. with escapes it would be 'my\_host', 'peter\_me')
Code:INSERT INTO mysql.user ( HOST, USER, PASSWORD, select_priv, insert_priv, update_priv, delete_priv, create_priv, drop_priv, reload_priv, shutdown_priv, process_priv, file_priv, grant_priv, references_priv, index_priv, alter_priv, show_db_priv, super_priv, create_tmp_table_priv, lock_tables_priv, execute_priv, repl_slave_priv, repl_client_priv, create_view_priv, show_view_priv, create_routine_priv, alter_routine_priv, create_user_priv, event_priv, trigger_priv ) VALUES ( 'my_host', 'peter_me', PASSWORD(''), 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N' );FLUSH PRIVILEGES;
INSERT INTO mysql.db(HOST, db, USER, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Grant_priv, References_priv, Index_priv, Alter_priv, create_tmp_table_priv, lock_tables_priv, Create_view_priv, Show_view_priv, Create_routine_priv, Alter_routine_priv, Execute_priv, event_priv, trigger_priv) VALUES('my_host', 'information_schema', 'peter_me', 'Y','N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N');
FLUSH PRIVILEGES:
The user displays as 'peter_me'@'my_host' in both 'edit user' and 'manage privileges'. This is not in accordance to MySQL documentation at http://dev.mysql.com/doc/refman/5.1/en/string-syntax.html . I will post the test case as a question/bug report to MySQL.
Here server is 5.1.44
peterlaursen
ParticipantThis “Internally though, it passes it as “user” to the server. Now, when I copy it, SQLyog inserts it as “USER” and also passes it as such to the server, where this of course is not an existing table.” is what I cannot reproduce. As told I get consistently same response for both queries. But let of testers try fiddle with this.
peterlaursen
ParticipantThis is already planned for near future. As soon as we finalize the 8.31 release one developer will start this. It will take 2-4 weeks probably (depending on how many other issue will need to be solved in parallel).
-
AuthorPosts