Вставляю
Код: Выделить всё
[client]
password = "1"
Модератор: terminus
Код: Выделить всё
[client]
password = "1"
Код: Выделить всё
The [client] option group is read by all client programs (but not by mysqld). This enables you to specify options that apply to all clients. For example, [client] is the perfect group to use to specify the password that you use to connect to the server. (But make sure that the option file is readable and writable only by yourself, so that other people cannot find out your password.) Be sure not to put an option in the [client] group unless it is recognized by all client programs that you use. Programs that do not understand the option quit after displaying an error message if you try to run them.
угу, только локальным клиентам типа mysql, mysqldump и т.п.Bayerische писал(а):Кому оно там пароль отправляет? Выходит, не от базы пароль в файле, а просто это для других программ?
для дефолтных настроек mysql-клиентов, а не демона.Bayerische писал(а):Не могу понять, для чего вообще эта секция [client]