GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

28 versions of MySQL.

ProgramAgeSizeByWWWSummary
MySQL 5.7.18-r1 503  1421 Hish...
A fast SQL database server.
MySQL 5.7.14-r1 751  1428 Luca...
A fast SQL database server.
MySQL 5.6.13-r2 889  1765 Luca...
A fast SQL database server.
MySQL 5.5.30-r1 2018  1358 Hish...
A fast SQL database server.
MySQL 5.5.27-r1 2227  1370 Luca...
A fast SQL database server.
MySQL 5.5.23-r1 2240  1334 Luca...
A fast SQL database server.
MySQL 5.5.15-r1 2567  1433 Zbig...
A fast SQL database server.
MySQL 5.5.9-r1 2771  1406 Luca...
A fast SQL database server.
MySQL 5.1.53-r1 2787  1510 Diog...
A fast SQL database server.
MySQL 5.1.50-r1 2946  1521 JPau...
A fast SQL database server.
MySQL 5.1.48-r1 2990  1519 Hish...
A fast SQL database server.
MySQL 5.1.44-r1 3117  1533 Jose...
A fast SQL database server.
MySQL 5.1.42-r2 3143  1522 Luca...
A fast SQL database server.
MySQL 5.1.38-r1 3266  1445 Rui ...
A fast SQL database server.
MySQL 5.1.37-r1 3283  1428 Andr...
A fast SQL database server.
MySQL 5.1.34-r1 3441  1468 Giam...
A fast SQL database server.
MySQL 5.1.31-r1 3487  1445 Giam...
A fast SQL database server.
MySQL 5.1.30-r1 3489  1382 Magl...
A fast SQL database server.
MySQL 5.0.67-r1 3489  1341 Jona...
A fast SQL database server.
MySQL 5.0.51a-r2 3489  1264 Magl...
A fast SQL database server.
MySQL 5.0.51-r2 3489  1544 Jona...
A fast SQL database server.
MySQL 5.0.45-r1 3489  1589 Jona...
A fast SQL database server.
MySQL 5.0.27-r2 3489  1348 Otto...
A fast SQL database server.
MySQL 5.0.16-r1 3489  1331 Magl...
A fast SQL database server.
MySQL 4.1.16-r1 3489  1372 Jona...
A fast SQL database server.
view entry at GitHub | download recipe.bz2 file
Recipe
Resources/Dependencies
Resources/Description
# Recipe for version 4.1.16 by Jonas Karlsson <jonka750@student.liu.se>, on Fri Jan \
20 02:57:33 CET 2006
# Recipe (MakeRecipe) for MySQL by Maglan C. Diemer, maglan@univates.br, on Qui Dez \
8 20:53:16 BRST 2005
compile_version=1.7.1
url="ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-4.1/mysql-4.1.16.tar.gz"
recipe_type=configure

override_default_options=yes
configure_options=(
    "--prefix=$target"
    "--sysconfdir=$target/../Settings/MySQL"
    "--localstatedir=/Files/MySQL"
    "--with-mysqld-user=mysql"
    "--without-debug"
)


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 $goboPrograms/MySQL \
-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 $target/Resources/Defaults/Settings/MySQL
    cp support-files/my-*.cnf $target/Resources/Defaults/Settings/MySQL
    pushd $target/Resources/Defaults/Settings/MySQL
    ln -s my-medium.cnf my.cnf
    popd
}

post_install() {
    if [ ! -d /Files/MySQL ]; then
        Log_Normal "Installing prepared tables"
        mkdir -p /Files/MySQL
        $target/bin/mysql_install_db
        Log_Normal "Changing ownership of Variable to mysql:mysql"
        chown -R mysql:mysql /Files/MySQL
    
        pushd $target
        ln -s /Files/MySQL var
        popd
    fi
}
MySQL 4.1.12-r1 3489  1325
A fast SQL database server.
MySQL 4.1.9-r1 3489  10791 Volk...
The MySQL Database Server
MySQL 4.0.20-r1 3489  969
A fast SQL database server.