Hi guys,
I'm new here and need help.
I'm installing MySQL on FreeBSD 4.7. I actually had/have MySQL installed
but when I'm trying to run it says:
error: 'Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (61)' Check that mysqld is running and that the
socket: '/tmp/mysql.sock' exists!
 
I checked /tmp/mysql.sock' and the file exists.
But I don't see any process that would show me mysqld is running.
 
Then I tried to re-install it from the ports and it says:
You appear to already have a mysql database directory in /var/db/mysql.
 
In order to preserve your existing data, you should:
        - dump all your databases
        - kill mysql if it is running
        - delete the /var/db/mysql directory
        - run 'make install'
        - start up mysql
        - re-create all of your database
        - re-load your data
 
If you understand the consequences of this upgrade, please re-build this
port with the environment variable OVERWRITE_DB defined.
*** Error code 1
 
Stop in /usr/ports/databases/mysql323-server.
 
Please help, what should I do?
 
Best Regards, Anton
 
 


Reply via email to