well then have a look at that file and see where it wants to create stuff. 
adjust the permissions of the 
target folder according to your maria user afterwards.

On Tue, 23 Jan 2024 20:53:57 -0500, Christopher D. Bartels wrote:
> 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@openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to