[exim] Re: MySQL connection with SSL

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-users
Asunto: [exim] Re: MySQL connection with SSL
On 16/05/2024 21:28, Gandalf Corvotempesta via Exim-users wrote:
> # strace exim -be  2>&1 | grep my.cnf
> ${lookup mysql{SELECT password AS password}}
> access("/etc/my.cnf", R_OK)             = -1 ENOENT (No such file or directory)
> access("/etc/mysql/my.cnf", R_OK)       = 0
> openat(AT_FDCWD, "/etc/mysql/my.cnf", O_RDONLY) = 3
> access("/etc/mysql/conf.d//my.cnf", R_OK) = -1 ENOENT (No such file or
> directory)
> access("/etc/mysql/mariadb.conf.d//my.cnf", R_OK) = -1 ENOENT (No such
> file or directory)


So it looks for mariadb.conf.d//my.cnf ; doesn't find it,
and does not access any of the files that *are* in that directory.

Meantime, your config's includes:


>> # tail -n5 /etc/mysql/my.cnf
>> socket = /run/mysqld/mysqld.sock
>>
>> # Import all .cnf files from configuration directory
>> !includedir /etc/mysql/conf.d/
>> !includedir /etc/mysql/mariadb.conf.d/


... (I'm guessing) say to look fist in a directory called conf.d -
and we don't see the strace doing that either.

I think you're not running the mysql configuration you think you are running.

--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/