[ubuntu-ar] Problemas con MySQL 4.0.23

Maximiliano Mendive mmendive at yahoo.com.ar
Fri Oct 19 00:59:50 BST 2007


gracias Silvio, las respuestas anteriores no me llegaron... no se que le pasa a Yahoo....
te cuento que ejecute el netstat -ltp y salio:
root en ServerAngel:/home/administrador # netstat -ltp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           
Foreign Address         State    PID/Program name
tcp        0      0 localhost.localdoma:ipp *:*                     LISTEN   32646/cupsd
tcp        0      0 localhost.localdom:smtp *:*                     LISTEN   7075/master
root en ServerAngel:/home/administrador #


y el archivo my.conf no tiene nada de bind-address, aca lo mando....
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "/var/lib/mysql/my.cnf" to set server-specific options or
# - "~/.my.cnf" to set user-specific options.
# 
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#

# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
[client]
#password    = my_password
port        = 3306
socket        = /var/run/mysqld/mysqld.sock

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket        = /var/run/mysqld/mysqld.sock
nice        = 0

[mysqld]
user        = mysql
pid-file    = /var/run/mysqld/mysqld.pid
socket        = /var/run/mysqld/mysqld.sock
port        = 3306
# Both location gets rotated by the cronjob.
#log        = /var/log/mysql.log
log        = /var/log/mysql/mysql.log
basedir        = /usr
datadir        = /var/lib/mysql
tmpdir        = /tmp
language    = /usr/share/mysql/english
skip-external-locking
#
# The skip-networking option will no longer be set via debconf menu.
# You have to manually change it if you want networking i.e. the server
# listening on port 3306. The default is "disable" - for security reasons.
skip-networking
key_buffer        = 16M
max_allowed_packet    = 16M
thread_stack        = 128K
#
# Query Cache Configuration
#
query_cache_limit    = 1048576
query_cache_size        = 26214400
query_cache_type        = 1
#
# Here you can see queries with especially long duration
#log-slow-queries    = /var/log/mysql/mysql-slow.log
#
# The following can be used as easy to replay backup logs or for replication
#server-id        = 1
#log-bin        = /var/log/mysql/mysql-bin.log
#binlog-do-db        = include_database_name
#binlog-ignore-db    = include_database_name
#
# Read the manual if you want to enable InnoDB!
skip-innodb
#
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# If you want to enable SSL support (recommended) read the manual or my
# HOWTO in /usr/share/doc/mysql-server/SSL-MINI-HOWTO.txt
# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem



[mysqldump]
quick
quote-names
max_allowed_packet    = 16M

[mysql]
#no-auto-rehash    
# faster start of mysql but no tab completition

[isamchk]
key_buffer        = 16M


Exitos
Maxi


Silvio Quadri <silvioq en gmail.com> escribió: El 18/10/07, Maximiliano Mendive  escribió:
> no se porque no llego este mail a la lista, lo reenvio de nuevo.
>
> COMO ABRO EL PUERTO 3306???
>
> Gracias
>

Sí llegó.
Fijate las respuestas ... sobre todo la de Pablo, que fue la más
explícita ... Probá eso y decinos cómo te fue.


>>>>>>
Para ver si hay alguien escuchando:
       netstat -ltp

Revisá el archivo /etc/mysql/my.conf, fijate la linea
       bind-address = 127.0.0.1

En mi ubuntu está descomentada. Agregale un # al comienzo:
       #bind-address = 127.0.0.1

Reiniciá el servicio y volvé a probar que debería aceptar conexiones
desde cualquier red (ojo ;) )

Hice la prueba con mysql 5 en ubuntu, pero no tendría que ser distinto.
<<<<<<


-- 
Silvio Quadri

-- 
Ubuntu-ar lista de correo
Ubuntu-ar en lists.ubuntu.com
Modifica tus opciones o desuscribite en: https://lists.ubuntu.com/mailman/listinfo/ubuntu-ar


       
---------------------------------

El Mundial de Rugby 2007
Las últimas noticias en Yahoo! Deportes:
http://ar.sports.yahoo.com/mundialderugby
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://lists.ubuntu.com/archives/ubuntu-ar/attachments/20071018/1ffabb43/attachment.htm 


More information about the Ubuntu-ar mailing list