removido
(usa Nenhuma)
Enviado em 07/11/2013 - 23:53h
Cara... tudo aponta para um bug na versão 5.1.49.
Compilei aqui em casa com a versão 5.1.72 sem problemas.
# lsb_release -a; uname -mrs
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.1 (wheezy)
Release: 7.1
Codename: wheezy
Linux 3.2.0-4-686-pae i686
# apt-get update; apt-get install build-essential libncurses5-dev wget
# cd /usr/local/src/
# wget
http://mirror.cogentco.com/pub/mysql/MySQL-5.1/mysql-5.1.72.tar.gz
# tar xvfz mysql-5.1.72.tar.gz
# cd mysql-5.1.72/
#./configure --prefix=/usr/local/mysql
# make
# make install
* Teste
# ps -ef | grep mysql
root 17491 1 0 00:34 pts/0 00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/debian32bts.pid
mysql 17606 17491 0 00:34 pts/0 00:00:00 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --log-error=/usr/local/mysql/var/debian32bts.err --pid-file=/usr/local/mysql/var/debian32bts.pid --socket=/tmp/mysql.sock --port=3306
root 17678 17635 0 00:37 pts/0 00:00:00 grep mysql
# mysql -u root -pteste
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.1.72-log Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| test |
+--------------------+
3 rows in set (0,00 sec)
mysql>