[root@ArchiTek cacti]# mysql cacti < cacti.sql -p
Enter password:
ERROR 1064 (42000) at line 5: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6
[root@ArchiTek cacti]#
Pourtant j'ai bien MyIsam de dispo dans mysql :
MySQL
Serveur: Localhost via UNIX socket
Version du serveur: 5.5.10-log
Version du protocole: 10
Utilisateur: root@localhost
Jeu de caractères pour MySQL: UTF-8 Unicode (utf8)
Serveur web
Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.0d DAV/2 PHP/5.3.6 with Suhosin-Patch
Version du client MySQL: mysqlnd 5.0.8-dev - 20102224 - $Revision: 308673 $
Extension PHP: mysql
Le premier truc qui me vient est un problème de syntaxe lié au passage à mysql 5.5. Si c'est ça, tu peux suivre le wiki anglophone déjà: https://wiki.archlinux.org/index.php/Cacti
D'ailleurs, c'est mentionné (à supposer que ça soit la cause de ton problème bien sûr mais il y a des chances puisque ça touche ENGINE/TYPE justement):
Note: As of march 2011 (mysql 5.5.9-1, cacti 0.8.7g-1) mysql fails to import the SQL due to an outdated syntax. You can update the file using this command: