Here is the result of a grep on mysql:
unix 2 [ ACC ] STREAM LISTENING 5587 /var/run/mysqld/mysqld.sock
here is a copy of my.cnf file:
SSH Secure Shell 3.2.9 (Build 283)
Copyright (c) 2000-2003 SSH Communications Security Corp -
This copy of SSH Secure Shell is a non-commercial version.
This version does not include PKI and PKCS #11 functionality.
Linux markubuntu 2.6.8.1-3-386 #1 Tue Oct 12 12:41:57 BST 2004 i686 GNU/Linux
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
You have mail.
boo@markubuntu:~ $ cd /etc
boo@markubuntu:/etc $ cd services
-bash: cd: services: Not a directory
boo@markubuntu:/etc $ cd ..
boo@markubuntu:/ $ grep /etc/services 3306
grep: 3306: No such file or directory
boo@markubuntu:/ $ grep /etc/ 3306
grep: 3306: No such file or directory
boo@markubuntu:/ $ services
-bash: services: command not found
boo@markubuntu:/ $ netstat -a | grep mysql
unix 2 [ ACC ] STREAM LISTENING 5587 /var/run/mysqld/mysqld.sock
boo@markubuntu:/ $ netstat -a | grep mysql
unix 2 [ ACC ] STREAM LISTENING 5587 /var/run/mysqld/mysqld.sock
boo@markubuntu:/ $ cd /etc
boo@markubuntu:/etc $ cd mysql
boo@markubuntu:/etc/mysql $ ls
debian.cnf my.cnf
boo@markubuntu:/etc/mysql $ nano my.cnf
GNU nano 1.2.3 File: my.cnf Modified
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "/var/lib/mysql/my.cnf" to set server-specific options or
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
[client]
#password = my_password
port = 3306
socket = /var/run/mysqld/mysqld.sock
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
err-log = /var/log/mysql/mysql.err
socket = /var/run/mysqld/mysqld.sock
[mysqld]
boo@markubuntu:/etc/mysql $ ls
debian.cnf my.cnf
boo@markubuntu:/etc/mysql $ nano my.cnf
GNU nano 1.2.3 File: my.cnf
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "/var/lib/mysql/my.cnf" to set server-specific options or
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
[client]
#password = my_password
port = 3306
socket = /var/run/mysqld/mysqld.sock
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
err-log = /var/log/mysql/mysql.err
socket = /var/run/mysqld/mysqld.sock
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
Thanks for the help!!!!!!