Hi,
I installed MySQL Server 5.5 on RedHat 4. I installed the rpm packages as 'root'. There are two issues...
1. After installation, I can see couple of files and databases in /var/lib/mysql directory, which is owned by mysql (as user and group). When I tried to start mysql server (/etc/init.d/mysql start) as nonroot user, it threw an error about <hostname>.pid file permission. I would like to start the server as nonroot user. Please let me know how can I do that. Do I need to start the server as 'mysql' user? If yes, what is the default password of this user?
Is it okay to change the ownership of /var/lib/mysql dir. from 'mysql' to an existing user?
2. I couldn't find my.cnf in /. , /etc/., ~/.
Where is this file located? Do I need to create it manually?
Thanks,
Rak
I installed MySQL Server 5.5 on RedHat 4. I installed the rpm packages as 'root'. There are two issues...
1. After installation, I can see couple of files and databases in /var/lib/mysql directory, which is owned by mysql (as user and group). When I tried to start mysql server (/etc/init.d/mysql start) as nonroot user, it threw an error about <hostname>.pid file permission. I would like to start the server as nonroot user. Please let me know how can I do that. Do I need to start the server as 'mysql' user? If yes, what is the default password of this user?
Is it okay to change the ownership of /var/lib/mysql dir. from 'mysql' to an existing user?
2. I couldn't find my.cnf in /. , /etc/., ~/.
Where is this file located? Do I need to create it manually?
Thanks,
Rak