Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    15

    Default mysqlup: ERROR 1175

    I just did an upgrade from MySQL version 4.2.2-standard to 5.0.51a-community using /scripts/mysqlup, and the script seems to have been successful, but I received the following three lines of output at the very end of the script:
    perlmod--Install done
    ERROR 1175 (HY000) at line 1: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
    Install Complete
    I searched here and Googled, but I couldn't find any mention of that error in regard to running mysqlup.

    Is there something I need to do to address the error, or can I safely ignore it?

  2. #2
    Member
    Join Date
    Jul 2008
    Posts
    21

    Default

    Hi ,
    does it cause the problem in MySQL ?? if not ignore it
    Humayun shafiq

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    15

    Default

    Quote Originally Posted by Humayun View Post
    Hi ,
    does it cause the problem in MySQL ?? if not ignore it
    I haven't noticed any problems yet...

  4. #4
    Member
    Join Date
    Sep 2008
    Posts
    11

    Default

    The error code '1175' occur when you call MySQL from any host language.

    We can separate this error in the following categories.

    Name- ERROR
    Code -1175
    State-(HY000)

    You can find the name and Error Code definitions in the `include/mysqld_error.h' MySQL source file and SQLSTATE in the `include/sql_state.h'. SQLSTATE error code is displayed only if you use MySQL version 4.1 and up.



    http://webhostinghelps.net
    http://blog.webhostinghelps.net

  5. #5
    Member
    Join Date
    Jul 2007
    Posts
    15

    Default

    Thanks for the info, Webhostinghelps.

    I am concerned about the significance of the error appearing at that particular part of the mysqlup script, and am wondering if it represents a problem I need to address.

    I'm not an expert on bash scripts, but it looks like the error is generated somewhere in the mysqlup script around this point judging by the lines that precede and follow it:
    Code:
    my $touchmysql = 0;
    if ( $updated > 0 ) {
        checkselinux();
        system '/scripts/perlinstaller', '--force', 'DBD::mysql';
        system '/scripts/securemysql',   '-qFa',    'removelockntmp';
    
        $touchmysql = 1;
    }
    
    my $mysqld = cPScript::DbUtils::find_mysqld();
    my $mysqld_mtime = (stat($mysqld))[9] || 0;
    my $mysqlup_mtime = (stat('/scripts/mysqlup'))[9]  || 0;
    
    if ( $mysqld_mtime < $mysqlup_mtime ) {
        $touchmysql = 1;
    }
    
    if ($touchmysql) {
        cPScript::FileUtils::touchfile($mysqld);
    }
    
    print "Install Complete\n";
    When I submitted the original question, I was hoping someone familiar with the mysqlup script could tell me if the error was something to worry about, and how to fix the underlying problem, if any.

  6. #6
    Member
    Join Date
    Mar 2008
    Location
    Karachi,Pakistan
    Posts
    49

    Default Yaseen

    Hello,

    I think you have created a table in a database that is not correctly made. This error is one out of other hundreds of mysql error codes. Please try find the buggy database and fix the error table and then try again. for further please refer these links
    http://linuxqna.com/tag/%ED%8F%AC%ED%8A%B8
    http://binboy.sphere.pl/index.php?sh...-handling.html


  7. #7
    Member
    Join Date
    Jul 2007
    Posts
    15

    Default

    Quote Originally Posted by Ghulam Yaseen View Post
    Hello,

    I think you have created a table in a database that is not correctly made. This error is one out of other hundreds of mysql error codes. Please try find the buggy database and fix the error table and then try again. for further please refer these links
    http://linuxqna.com/tag/%ED%8F%AC%ED%8A%B8
    http://binboy.sphere.pl/index.php?sh...-handling.html

    Thanks, Yaseen. Since I posted I found a table called "objectcache" in a mediawiki site that was corrupted, and had to fix that using myisamchk. That's all I found so far; I'm hoping that was it.

Similar Threads & Tags
Similar threads

  1. /scripts/mysqlup errors
    By jefferyw18 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-24-2009, 12:17 PM
  2. Question about /scripts/mysqlup
    By XMBG-Host in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-12-2007, 11:47 AM
  3. arghh!! /scripts/mysqlup failed :(
    By simonpearce in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-08-2006, 06:32 AM
  4. /scripts/mysqlup
    By Mini in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-31-2006, 10:13 AM
  5. /scripts/mysqlup
    By wills in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-06-2005, 03:25 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube