Quote:
Originally Posted by ap0calypse
You misunderstood me.
There is a mysqld configuration file (in slackware it's /etc/my.cnf). There are the settings for the database server itself. You should have a look especially at these lines:
port = 3306
skip-networking
What do they say in your configuration?
|
here's the my.cnf file
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=root
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=123
# To allow mysqld to connect to a MySQL Cluster management daemon, uncomment
# these lines and adjust the connectstring as needed.
ndbcluster
ndb-connectstring="nodeid=4;host=localhost.localdomain:3306"
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[ndbd]
# If you are running a MySQL Cluster storage daemon (ndbd) on this machine,
# adjust its connection to the management daemon here.
# Note: ndbd init script requires this to include nodeid!
connect-string="nodeid=2;host=localhost.localdomain:3306"
[ndb_mgm]
# connection string for MySQL Cluster management tool
connect-string="host=localhost.localdomain:3306"