Hello,

    We have 4000 db and 4000 user (more or less) in MySQL, each db has one
user assigned.
    Some times, this is happened more often, show the next error:

    ERROR: 1045 'Access denied for user: ‘username@host’ (using password:
YES).

    So we kill/restart the mysqld process … after that the user is able to
login.

    We have the next escenario.

     HP-UX 11.00
     MySQL 3.23.30 gamma-log
     512 RAM.


My.cnf (for large systems)

# The following options will be passed to all MySQL clients
[client]

#password       = your_password
port            = 3306
socket          = /tmp/mysql.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]

port            = 3306
socket          = /tmp/mysql.sock

skip-locking
set-variable    = key_buffer=256M
set-variable    = max_allowed_packet=1M
set-variable    = table_cache=256
set-variable    = sort_buffer=1M
set-variable    = record_buffer=1M
set-variable    = myisam_sort_buffer_size=64M
set-variable    = thread_cache=8
set-variable    = thread_concurrency=8  # Try number of CPU's*2
set-variable    = max_connections=200


log-bin
server-id       = 1

# Uncomment the following if you are using BDB tables
#set-variable   = bdb_cache_size=64M
#set-variable   = bdb_max_lock=100000

# Point the following paths to different dedicated disks
#tmpdir         = /tmp/
#log-update     = /path-to-dedicated-directory/hostname

[mysqldump]
quick
set-variable    = max_allowed_packet=16M

[mysql]
no-auto-rehash

#safe-updates
# Remove the comment character if you are not familiar with SQL
[isamchk]
set-variable    = key_buffer=128M
set-variable    = sort_buffer=128M
set-variable    = read_buffer=2M
set-variable    = write_buffer=2M

[myisamchk]
set-variable    = key_buffer=128M
set-variable    = sort_buffer=128M
set-variable    = read_buffer=2M
set-variable    = write_buffer=2M

[mysqlhotcopy]
interactive-timeout

    Thanks in advance.
    Julio Cesar Muñoz.
    Triara Operations.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to