LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MySQL problems (https://www.linuxquestions.org/questions/linux-software-2/mysql-problems-61822/)

otisthegbs 05-25-2003 11:14 PM

MySQL problems
 
I'm having a bit of a trouble getting tikiwiki up and running. My main problem is that I'm using RH9 with the default apache, php and mysql installed. Now tikiwiki wants to use mysql 4.0 and RH9 ships with 3.xx. So what I did was download the binary install of MySQL and installed it. I didn't remove the MySQL 3.xx though. When I go to the mysql directoty in /usr/local and tell it to ./bin/mysql_safe &, everything is ok. It says it starts up and if I ps -aux | grep mysql, its all there. But when I try to connect to the server either using mysqladmin or phpmyadmin it gives my an error of : "Access denied for user: 'root@localhost' (Using password: NO)"

So I checked the documentation and it told me that I had to set a password. So... inside the mysql directory it typed :"./bin/mysqladmin -u root password 'new-password'

The server then immediatly replies with the error
"./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'"

So I don't understand how it can't connect even though the mysql daemon is running.

vous 05-26-2003 07:35 AM

What happens if you do a start with safestartmysql anf then just type in mysql?

Do you get logged in, or you do you get an error? If so, which error?


All times are GMT -5. The time now is 08:19 PM.