[OpenIndiana-discuss] mariadb secure installation script infinite loop

Christopher D. Bartels chris at christopherbartels.com
Wed Jan 24 01:53:57 UTC 2024


Thanks, that 'VIA' syntax worked to get past the syntax error, but the 
script still errors at the very beginning:

> Enter current password for root (enter for none):
> /usr/mariadb/10.6/bin/mariadb-secure-installation[249]: .my.cnf.4015: 
> cannot create [Permission denied]
> /usr/mariadb/10.6/bin/mariadb-secure-installation[250]: .my.cnf.4015: 
> cannot create [Permission denied]
> /usr/mariadb/10.6/bin/mariadb-secure-installation[251]: .my.cnf.4015: 
> cannot create [Permission denied]
> /usr/mariadb/10.6/bin/mariadb-secure-installation[253]: .my.cnf.4015: 
> cannot create [Permission denied]
> /usr/mariadb/10.6/bin/mariadb-secure-installation[218]: .mysql.4015: 
> cannot create [Permission denied]
> /usr/mariadb/10.6/bin/mariadb-secure-installation[220]: .mysql.4015: 
> cannot open [No such file or directory]
> Enter current password for root (enter for none):

Not sure how to proceed here. :-(


-C

On 1/23/24 20:33, Goetz T. Fischer wrote:
> that's a terrible idea, because if the server in question gets compromised in any way, the attacker is
> handed a free-pass to the whole db.
>
> On Tue, 23 Jan 2024 16:51:38 -0800, Bill Sommerfeld via openindiana-discuss wrote:
>> As an aside, I've found "IDENTIFIED VIA unix_socket" to be the way to go for local access when the
>> client is on the same machine as the database.
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list