Ok here is the situation.
I have a MySQL server successfully setup on a Fedora Core 4 box (I used the RPMs).
I have a separate box that hosts the webserver, and I want it to be able to connect to the remote MySQL server (both servers on the same LAN).
Now I can tell that the MySQL server is NOT listening for incoming connections:
I not sure where the server is pulling it's configuration from. Typically it is /etc/my.cnf - but that file doesn't exist. While that file doesn't exist, the server still runs - as I can connect to the localhost - just not from another machine.
I could just play with it and copy a configuration file - but I don't want to screw anything up.
What can I do to fix this properly?
Thanks.
I have a MySQL server successfully setup on a Fedora Core 4 box (I used the RPMs).
I have a separate box that hosts the webserver, and I want it to be able to connect to the remote MySQL server (both servers on the same LAN).
Now I can tell that the MySQL server is NOT listening for incoming connections:
Code:
# ps -eaf | grep mysql
root 2030 1 0 Jan10 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/servername.pid
mysql 2054 2030 0 Jan10 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2057 2054 0 Jan10 ? 00:00:11 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2058 2057 0 Jan10 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2059 2057 0 Jan10 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2060 2057 0 Jan10 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2061 2057 0 Jan10 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2065 2057 0 Jan10 ? 00:02:03 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2066 2057 0 Jan10 ? 00:00:57 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2067 2057 0 Jan10 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2068 2057 0 Jan10 ? 00:00:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2089 2057 0 Jan10 ? 00:00:01 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
mysql 2102 2057 0 Jan10 ? 00:00:01 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/servername.pid --skip-locking
root 14958 14921 0 11:15 pts/1 00:00:00 grep mysql
I not sure where the server is pulling it's configuration from. Typically it is /etc/my.cnf - but that file doesn't exist. While that file doesn't exist, the server still runs - as I can connect to the localhost - just not from another machine.
I could just play with it and copy a configuration file - but I don't want to screw anything up.
What can I do to fix this properly?
Thanks.