thummper
asked on
default mysql LINUX user (ie named "mysql");
Hi, anyone know the initial password, or how to get it, for the LINUX user named "mysql" (setup by default by mysql on installation).
-or-
a solution in fedora to quickly change owner / group of 98 files.
Problem is, I copied over the data files from my database to this installation. Now owner is "root", and so mysql cant write to them I need to either login as user "mysql" and recopy or batch chown (think thats right command) all the files in that directory. When you change preferences on the folder it does give you the option to change files enclosed, but it is permissions only, not ownership.
Thanks.
-or-
a solution in fedora to quickly change owner / group of 98 files.
Problem is, I copied over the data files from my database to this installation. Now owner is "root", and so mysql cant write to them I need to either login as user "mysql" and recopy or batch chown (think thats right command) all the files in that directory. When you change preferences on the folder it does give you the option to change files enclosed, but it is permissions only, not ownership.
Thanks.
ASKER
yes, but if i change it mysql likely wont work (as it will try to use the old password) Im looking for a way to either:
find out what the password is
-or-
batch change owner of all the files in the folder
find out what the password is
-or-
batch change owner of all the files in the folder
There's no password at all(but not empty -> login is unavailable) by default for linux user mysql, and You should net set any.
Maybe You asking for default password for mysql's databse root password? It's empty.
Maybe You asking for default password for mysql's databse root password? It's empty.
ASKER
No, I am not asking for MySQL's root user, LINUX user, named "MySQL". If login is unavailable, then the other solution is needed, a way to change owner on 98 files. ie batch. It does, however, show a 5 digit password by default.
> It does, however, show a 5 digit password by default.
What You mean?
> If login is unavailable, then the other solution is needed, a way to change owner on 98 files
chown -R mysql: /path/to/copied/directory # run as a root
What You mean?
> If login is unavailable, then the other solution is needed, a way to change owner on 98 files
chown -R mysql: /path/to/copied/directory # run as a root
ASKER
sorry for the delay, been out a bit.
>> It does, however, show a 5 digit password by default.
>What You mean?
if I go (as rot) into the manage user interface it shows an existing password for the user "mysql" and shows the password as ***** (5 digits)
>chown -R mysql: /path/to/copied/directory # run as a root
GREAT! thanks, will this change the owner of the directory only or all files withiin it?
>> It does, however, show a 5 digit password by default.
>What You mean?
if I go (as rot) into the manage user interface it shows an existing password for the user "mysql" and shows the password as ***** (5 digits)
>chown -R mysql: /path/to/copied/directory # run as a root
GREAT! thanks, will this change the owner of the directory only or all files withiin it?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Sweet. thanks so much.
passwd mysql