Update of RounCube SQL

Discussion in 'Installation/Configuration' started by misterm, Oct 15, 2008.

  1. misterm

    misterm Member HowtoForge Supporter

    Hello with all

    I would like to carry out an update of RoundCube for the base of gives MYSQL

    How to make under SSH, the command mysql

    Good day MM:confused:
     
  2. Hans

    Hans Moderator Moderator

    I i understand you well, you want the code to perform an update from a previous version. Here are the possibilities for MySQL:

    For MySQL 4.0.x for a first fresh install:
    ------------------------------------------
    mysql roundcubemail < SQL/mysql.initial.sql

    For MySQL 4.0.x for an update from the previous version:
    --------------------------------------------------------
    mysql roundcubemail < SQL/mysql.update.sql


    For MySQL 4.1.x/5.x for a first fresh install:
    ----------------------------------------------
    mysql roundcubemail < SQL/mysql5.initial.sql


    For MySQL 4.1.x/5.x for an update from the previous version:
    ------------------------------------------------------------
    mysql roundcubemail < SQL/mysql.update.sql

    The SQL files can be found within the SQL directory which comes with RoundCube.
    Read the INSTALL file which comes with RoundCube for more information.

    Of course you also can use phpMyAdmin to do this job.
     
    Last edited: Oct 26, 2008
  3. misterm

    misterm Member HowtoForge Supporter

    Hello Hans, in any case thank you, but doesn't your solution function?

    Because j' have an error at the time of connection

    You do not have another solution, of the kind, to make a backup, on the tables for example, is to introduce them into the new version?

    Thank you Hans

    MM ;):confused:
     
  4. misterm

    misterm Member HowtoForge Supporter

    You are on Hans that…

    Hans, you is on that this file which is " mysql5.update" this finds well in repertory SQL, because when I list this same repertory, it this does not find…

    MM:eek::confused:;)
     
  5. Hans

    Hans Moderator Moderator

    The right command should be:
    mysql roundcubemail < SQL/mysql.update.sql

    For further upgrade instructions, please have a look to the text file "UPGRADING" which comes with RoundCube.
     

Share This Page