Ticket #1013 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

configuration d'un mysql remote par alternc

Reported by: anarcat Assigned to: benjamin
Priority: normal Milestone: alternc-0.9.7
Component: Package Debian Version: alternc-0.9.6
Severity: major Keywords:
Cc:

Description

Dans alternc.install, on trouve:

if [ -e /usr/sbin/mysqld ]; then
    echo "Setup MySQL and database..."
    /usr/share/alternc/install/mysql.sh "$MYSQL_USER" "$MYSQL_PASS" "$MYSQL_DATABASE"
fi

Plusieurs problèmes avec ceci:

  1. le MYSQL_HOST n'est pas passé et donc le setup ne fonctionne pas avec un mysql remote
  2. mysqld pourrait ne pas être présent qu'on voudrait faire le setup quand même

Le problème 1 devrait se régler assez facilement (en passant MYSQL_HOST).

Le problème 2 est plus complexe: il faudrait probablement toujours configurer le serveur mysql...

Change History

01/14/07 22:39:42 changed by anarcat

En fait, pour régler le 2, il faut faire un check if $HOST != 'localhost' || [ -e mysqld ]

08/23/07 10:26:10 changed by benjamin

  • status changed from new to assigned.
  • owner changed from anonymous to benjamin.

Changeset [1880] seems to fix it, but this has to be tested thoroughly ...

10/02/07 19:40:08 changed by anarcat

  • status changed from assigned to closed.
  • resolution set to fixed.

Let's assume it's ok... Koumbit will suffer the consequences (and fix the eventual problems) if it's not.