GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

28 versions of MySQL.

ProgramAgeSizeByWWWSummary
MySQL 5.7.18-r1 226  1421 Hish...
A fast SQL database server.
MySQL 5.7.14-r1 474  1428 Luca...
A fast SQL database server.
MySQL 5.6.13-r2 612  1765 Luca...
A fast SQL database server.
MySQL 5.5.30-r1 1741  1358 Hish...
A fast SQL database server.
MySQL 5.5.27-r1 1950  1370 Luca...
A fast SQL database server.
MySQL 5.5.23-r1 1963  1334 Luca...
A fast SQL database server.
MySQL 5.5.15-r1 2290  1433 Zbig...
A fast SQL database server.
MySQL 5.5.9-r1 2494  1406 Luca...
A fast SQL database server.
MySQL 5.1.53-r1 2510  1510 Diog...
A fast SQL database server.
MySQL 5.1.50-r1 2669  1521 JPau...
A fast SQL database server.
MySQL 5.1.48-r1 2713  1519 Hish...
A fast SQL database server.
MySQL 5.1.44-r1 2840  1533 Jose...
A fast SQL database server.
MySQL 5.1.42-r2 2866  1522 Luca...
A fast SQL database server.
MySQL 5.1.38-r1 2989  1445 Rui ...
A fast SQL database server.
MySQL 5.1.37-r1 3006  1428 Andr...
A fast SQL database server.
MySQL 5.1.34-r1 3164  1468 Giam...
A fast SQL database server.
MySQL 5.1.31-r1 3210  1445 Giam...
A fast SQL database server.
MySQL 5.1.30-r1 3212  1382 Magl...
A fast SQL database server.
MySQL 5.0.67-r1 3212  1341 Jona...
A fast SQL database server.
MySQL 5.0.51a-r2 3212  1264 Magl...
A fast SQL database server.
MySQL 5.0.51-r2 3212  1544 Jona...
A fast SQL database server.
MySQL 5.0.45-r1 3212  1589 Jona...
A fast SQL database server.
MySQL 5.0.27-r2 3212  1348 Otto...
A fast SQL database server.
view entry at GitHub | download recipe.bz2 file
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
# Recipe for version 5.0.27 by Otto Barnes <otto.barnes@gmail.com>, on Tue Nov 7 \
05:51:58 EST 2006
# Recipe (MakeRecipe) for MySQL by Maglan C. Diemer, maglan@univates.br, on Qui Dez \
8 20:53:16 BRST 2005
compile_version=1.8.0
url="http://mysql.easynet.be/Downloads/MySQL-5.0/mysql-5.0.27.tar.gz"
recipe_type=configure

override_default_options=yes
configure_options=(
    "--prefix=$target"
    "--sysconfdir=$settings_target/MySQL"
    "--localstatedir=/Files/MySQL"
    "--enable-shared"
    "--enable-thread-safe-client"
)


pre_install() {
   if ! grep -q mysql $goboSettings/group
   then
      Log_Normal "Adding group mysql"
      groupadd mysql
   fi

   if ! grep -q "mysql:x:" $goboSettings/passwd
   then
      Log_Normal "Adding user mysql"
      useradd mysql -g mysql -c 'added by Compile for MySQL' -d $target -s $goboExecutables/false
   fi
}

pre_link() {
    # task file
    mkdir -p $target/Resources/Tasks
    cp support-files/mysql.server $target/Resources/Tasks/MySQL
    chmod +x $target/Resources/Tasks/MySQL
    
    # settings files
    mkdir -p $settings_target/MySQL
    cp support-files/my-*.cnf $settings_target/MySQL
    ln -s my-medium.cnf $settings_target/MySQL/my.cnf
}

post_install() {
    Log_Normal "Installing prepared tables"
    files_dir=/Files/MySQL
    mkdir -p $files_dir
    $target/bin/mysql_install_db

    Log_Normal "Changing ownership of Variable to mysql:mysql"
    chown -R mysql:mysql $files_dir
    
    pushd $target
    ln -s $files_dir var
    popd
}
MySQL 5.0.16-r1 3212  1331 Magl...
A fast SQL database server.
MySQL 4.1.16-r1 3212  1372 Jona...
A fast SQL database server.
MySQL 4.1.12-r1 3212  1325
A fast SQL database server.
MySQL 4.1.9-r1 3212  10791 Volk...
The MySQL Database Server
MySQL 4.0.20-r1 3212  969
A fast SQL database server.