O Xampp não inicia o MySQL?

1

Quando vou ao meu painel de controle do Xampp e pressiono "EXECUTE" para o MySQL ele se recusa a executar. É uma instalação completamente precisa e limpa / fresca. Eu estou correndo 10.10. Aqui está o log de erros:

110414 18:43:52 [Note] Plugin 'FEDERATED' is disabled.
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
110414 18:43:52  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
110414 18:43:52  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
110414 18:43:52  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
110414 18:43:53  InnoDB: Started; log sequence number 0 0
110414 18:43:53  InnoDB: Starting shutdown...
110414 18:43:58  InnoDB: Shutdown completed; log sequence number 0 44233
110414 18:43:58 [Note] Plugin 'FEDERATED' is disabled.
110414 18:43:58  InnoDB: Started; log sequence number 0 44233
110414 18:43:58  InnoDB: Starting shutdown...
110414 18:44:03  InnoDB: Shutdown completed; log sequence number 0 44233
110414 18:44:03 [Note] Plugin 'FEDERATED' is disabled.
110414 18:44:04  InnoDB: Started; log sequence number 0 44233
 ERROR: 1064  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 'ALTER TABLE user ADD  
column    
Show_view_priv enum('N','Y') CHARACTER SET utf8 NOT ' at line 1
110414 18:44:04 [ERROR] Aborting

110414 18:44:04  InnoDB: Starting shutdown...
110414 18:44:09  InnoDB: Shutdown completed; log sequence number 0 44233
110414 18:44:09 [Note] /usr/sbin/mysqld: Shutdown complete

110414 18:44:09 [Note] Plugin 'FEDERATED' is disabled.
110414 18:44:09  InnoDB: Started; log sequence number 0 44233
110414 18:44:09  InnoDB: Starting shutdown...
110414 18:44:14  InnoDB: Shutdown completed; log sequence number 0 44233
110414 18:44:14 [Note] Plugin 'FEDERATED' is disabled.
110414 18:44:15  InnoDB: Started; log sequence number 0 44233
ERROR: 1050  Table 'plugin' already exists
110414 18:44:15 [ERROR] Aborting

110414 18:44:15  InnoDB: Starting shutdown...
110414 18:44:20  InnoDB: Shutdown completed; log sequence number 0 44233
110414 18:44:20 [Note] /usr/sbin/mysqld: Shutdown complete

110414 18:44:21 [Note] Plugin 'FEDERATED' is disabled.
110414 18:44:21  InnoDB: Started; log sequence number 0 44233
110414 18:44:21 [Note] Event Scheduler: Loaded 0 events
110414 18:44:21 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.49-1ubuntu8.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  
(Ubuntu)
110414 18:56:29 [Note] /usr/sbin/mysqld: Normal shutdown

110414 18:56:29 [Note] Event Scheduler: Purging the queue. 0 events
110414 18:56:32  InnoDB: Starting shutdown...
110414 18:56:47  InnoDB: Shutdown completed; log sequence number 0 44233
110414 18:56:47 [Note] /usr/sbin/mysqld: Shutdown complete

110414 18:57:39 [Note] Plugin 'FEDERATED' is disabled.
110414 18:57:42  InnoDB: Started; log sequence number 0 44233
110414 18:57:42 [Note] Event Scheduler: Loaded 0 events
110414 18:57:42 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.49-1ubuntu8.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306   
(Ubuntu)
110414 19:21:14 [Note] /usr/sbin/mysqld: Normal shutdown

110414 19:21:15 [Note] Event Scheduler: Purging the queue. 0 events
110414 19:21:17  InnoDB: Starting shutdown...
110414 19:21:18  InnoDB: Shutdown completed; log sequence number 0 44233
110414 19:21:18 [Note] /usr/sbin/mysqld: Shutdown complete

110414 19:23:40 [Note] Plugin 'FEDERATED' is disabled.
110414 19:23:40  InnoDB: Started; log sequence number 0 44233
110414 19:23:41 [Note] Event Scheduler: Loaded 0 events
110414 19:23:41 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.49-1ubuntu8.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306    
(Ubuntu)
110414 19:25:40 [Note] /usr/sbin/mysqld: Normal shutdown

110414 19:25:40 [Note] Event Scheduler: Purging the queue. 0 events
110414 19:25:40  InnoDB: Starting shutdown...
110414 19:25:41  InnoDB: Shutdown completed; log sequence number 0 44233
110414 19:25:41 [Note] /usr/sbin/mysqld: Shutdown complete

110414 19:26:26 [Note] Plugin 'FEDERATED' is disabled.
110414 19:26:27  InnoDB: Started; log sequence number 0 44233
110414 19:26:27 [Note] Event Scheduler: Loaded 0 events
110414 19:26:27 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.49-1ubuntu8.1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
    
por Earl Larson 15.04.2011 / 03:55

2 respostas

1

Tente executar o MySQL normal (obtido via Synaptic). Realmente, não há muito benefício em rodar o XAMPP no Ubuntu, quando você pode facilmente instalar os componentes em sua máquina e obter facilmente a funcionalidade igual ou melhorada.

@jgbelacqua fornece um link para um problema com o UTF-8 e sugere a remoção da referência UTF-8. Eu não li o link dele cuidadosamente o suficiente para saber se ele estava sugerindo usar algum outro conjunto de caracteres, mas se é assim, é um mau conselho. O MySQL certamente suporta o UTF-8 e existem muitas boas razões para você usá-lo também. Se a versão do MySQL fornecida com o XAMPP não puder lidar com isso, então o XAMPP é defeituoso e deve ser abandonado.

    
por Scott Severance 15.04.2011 / 10:15
1

Por que não instalar o servidor LAMP? O xampp é muito buggy e eu tenho problemas com ele em todas as plataformas. Os últimos lançamentos têm problemas muito sérios com o MySql, simplesmente não está funcionando!

apenas faça

sudo apt-get install php5 php5-mysql phpmyadmin mysql-server-5.1 apache2

e pronto.

    
por Umren 01.08.2011 / 07:11