Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 15 posts - 2,431 through 2,445 (of 7,398 total)
  • Author
    Posts
  • in reply to: #27867
    peterlaursen
    Participant

    hmm .. is MONyog connecting from 'localhost' and not from a remote host?

    Please explain “monitor says that it cannot access the Mysql db”. What exactly is displayed and where? A screenshot would be nice.

    in reply to: #27828
    peterlaursen
    Participant

    We have released 7.13 RC.

    Shift+click is now functional for selection of multiple group of objects. Interface is similar to Gmail (what also means the ctrl+click is not used – unlike Windows explorer for example)

    in reply to: #27866
    peterlaursen
    Participant

    The only 'property' of a database in MySQL is the default charset and collation (what can be overridden by tables and columns setting)!

    Objects tab display this at the bottom as CREATE DATABASE statement. See attached (no collation is defined here so default collation is the default collation for the charset – utf8_general_ci).

    I am pretty much sure that it also does in 7.02. But you need to select/highlight the database in The Object Browser and next click Objects tab.

    in reply to: #27864
    peterlaursen
    Participant

    “latest sqlyog ie enterprise 6.5.6” .. latest version is 7.12!

    in reply to: #27859
    peterlaursen
    Participant

    We know it is disputable that we implement DEFAULT as a keyqord. But we need to to enable setting default from context menu of a cell.

    But what about NULL, CURRENT_USER and functions/expressions like CONCAT('CURRRENT_USER','_',now()). They are *genuine* MySQL expressions and should *not* be inprepreted as a literal string – not if column is a string type either! Before we implemeted this we were flooded with complaints that NULL, CURRENT_TIMESTAMP, CURRENT_USER etc were quoted as strings!

    But use the feature or not as you like!

    in reply to: #27857
    peterlaursen
    Participant

    http://webyog.com/faq/content/8/99/en/does…l-keywords.html

    1) disable 'smart keywords' in preferences

    2) or enclose keywords wiht a special meaning in backticks like `default`

    in reply to: #27854
    peterlaursen
    Participant

    I think we will need temporary access. If we try such setup at our end we may do things slightly different and that could cause other results.

    Could you create a ticket with details please? Also we also would like to see the jobfile for the sync!

    in reply to: #27852
    peterlaursen
    Participant

    OK

    I first understood that the job does not start, but now I understand that the job runs, but it has no effect on data! Please confirm this!

    then the reason could be this one:

    http://webyog.com/faq/content/29/162/en/ta…hlight=floating

    Do you have floating point data types?

    Anyway we cannot do progress unless you provide a test case for this. At least please paste a structure-only dump for an affected table!

    in reply to: #27850
    peterlaursen
    Participant

    Please also try from the Windows scheduler interface (in Control Panel) to see if the job is registered here and if it works OK if you execute from here.

    in reply to: #27847
    peterlaursen
    Participant

    “Apparently the MYD and MYI files are gone”.

    Well then there is no data! .frm only contains DDL (structural) information! But if you are using InnoDB there are only .frm files (table data and indexes are stored in a shared tablespace). One chance is that the InnoDB table space has corrupted!

    Can you see data in SQLyog?

    If so can you export data? (also try 'copy to other' or 'duplicate table')

    Often the ultimate repair is to export, drop databases or tables, and import again.

    To repair a corrupted InnoDB tablespace there are workarounds but maybe easier to reinstall server! Or simply disable innobd, delete all innodb files, start server (wiht no InnoDB support), stop server, enable InnoDB in configuration, start server .. and now import the dump!

    If .MYD files and MYI files are gone then you will basically need file system recovery tools .. and this is not what SQLyog is!

    in reply to: #27844
    peterlaursen
    Participant

    There is no direct option to do only UPDATES (and skip INSERTs and DELETEs). Also SQLyog and SJA is not a script (it is a compiled binary) so there is no where you can edit anything.

    But can't you use the option to specify a WHERE clause?

    If you add a column that is constant on the same host but different on different host like

    theuser varchar(20) default 'bill' — on one host and

    theuser varchar(20) default 'jimmy' — on another host

    .. and use the 'theuser' column in the WHERE clause (but you will of course to do with every table)? Maybe you have something that can be used in the WHERE already?

    jobfile XML for this is (for every table) like

    `sometable`

    host = 'bill'

    I will not comment on specific applications (like PHPsurveyor). In principle do not expect us to know any! If there is anything special with it you will have to communicate it here!

    in reply to: #27838
    peterlaursen
    Participant

    It is a little different to reply to this, because it is not very clear what you are asking. Obviosuly you are not familiar with the MySQL privilege/access system but let me try to summarize:

    To connect with a client (like SQLyog) from a remote host the user must have access to MySQL. A MySQL user is defined by both the host from where the client connects and the user name. So before trying to connect with SQLyog you will need to create a user that SQlyog can use using some otehr client (command line client, a control panel application). Let us say that you want to connect as user 'skupa'. If you have a fixed ip like 'ip1.ip2.ip3.ip4' then you may create the user 'skupa'@'ip1.ip2.ip3.ip4'. If you create the user 'skupa'@'%' then user 'skupa'can connect form everywhere. But still note that is also 'skupa'@'localhost' exist then 'skupa'@'localhost' is a different user than 'skupa'@'%'.

    Also if you want to connect as a privileged user (like 'root') also the user 'root'@'ip1.ip2.ip3.ip4' or 'root@'%' must be created.

    When creating such user with a GUI control panel application there will be some option to define what databases and other objects the user can access and wiht what privileges to each. With MySQL command line client you use GRANT syntax like

    GRANT ALL PRIVILEGES on *.* to 'root'@'%' WITH GRANT OPTION ;

    (this will create a remote root use as powerfull as the 'root'@'localhost' user)

    or

    GRANT SELECT, UPDATE, INSERT, DELETE on *.mydb to 'skupa'@'ip1.ip2.ip3.ip4';

    (this will create a skupa user that may only connect from the specified host (ip) and has only the specified privilges to (all tables in) the `mydb`database)

    (both the above statements will create the user with an empty password – refer to link below for specifying a password and other options)

    On most *nix systems you find the command line client in the /etc folder (it is simply named 'mysql' – as opposed to the server who is named 'mysqld')

    Let me also for clarity add 3 comments on what you wrote:

    1) “Do I need to create a host for my network” You create a MySQL USER with a MySQL client wiht the GRANT statement. This is *totally* unrelated to host names registered with the Operating System. MySQL users and privileges has nothing to do with Operating system users and privileges! MySQL users are *only* MySQL users adn MySQL knows nothing about Operation System users. And no – you shall not create a hostname in your OS host configuration (if that is what you mean). But if you want you can add the host 'myfancycomp' to the host file on the server machine (be sure to use the correct ip for it!) and you may define the user in the GRANT statement like

    GRANT SELECT, UPDATE, INSERT, DELETE on *.mydb to 'skupa'@'myfancycomp';

    (but that is basic TCP knowledge only!)

    2) “am I supposed to use the credentials to my server root”. The 'server root' (Linux root user) again has nothing to do with the MySQL user! Use the *MySQL* password defined in the GRANT statement or as defined from the client you use

    3) “Then I realized I need to allow the host for remote mysql”. Yes of course. If you have some kind of firewall on the server machine you will need to configure it! But this is not the problem now. *access denied* is a authentification probelm – not a connection problem. You *are* contacting MySQL (it is MySQl server that returns this error message, but the MySQL serverrefuses to let you connect because no privileges wer configured for 'user'@'host' (where 'host' here means the hostname or ip of the machine where the *client* (SQLyog) is running)

    Links to MySQL documentation:

    MySQL GRANT syntax: http://dev.mysql.com/doc/refman/5.0/en/grant.html

    MySQL user/privilege system: http://dev.mysql.com/doc/refman/5.0/en/use…management.html

    in reply to: #27843
    peterlaursen
    Participant

    I think what you refer to as 'intellisense' is what we call 'auto complete'?

    Anyway we have this known issue: http://code.google.com/p/sqlyog/issues/detail?id=914

    so this is probably related. Even though it may only be reproducable sometimes (depending on what other columns and other objects you have) as you describe it here.

    in reply to: #27701
    peterlaursen
    Participant

    This fix will be included in next public release. Probably 7.13 by end of this week.

    in reply to: #27826
    peterlaursen
    Participant

    Shift+click was supposed to work but I agree that it does not.

    Example: you have tables t1,t2,t3,t4,t5,t6,t7,t8,t9,t10 and want to select t1,t2,t3,t6,t7,t8 and t9, then you click t1, shift+click t3, click t6. So far so good, but after shift+click on t9, t1-t3 gets deselected what it definitely should not.

    This is a bug!

Viewing 15 posts - 2,431 through 2,445 (of 7,398 total)