try adding -h localhost to the mysql command.
Do you have the php-mysql module complied?
Javier
Alhagie Puye wrote:
Yep. Here is the output:
bash-2.05b# netstat -na | more
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 *.80 *.* LISTEN
tcp4 0 0 *.3306 *.* LISTEN
tcp4 0 0 192.168.42.1.22 192.168.42.53.2759
ESTABLISHED
tcp4 0 0 192.168.42.1.22 192.168.42.53.1264
ESTABLISHED
tcp4 0 0 127.0.0.1.25 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp4 0 0 127.0.0.1.953 *.* LISTEN
tcp4 0 0 192.168.42.1.53 *.* LISTEN
udp4 0 0 *.161 *.*
udp4 0 0 *.67 *.*
udp4 0 0 *.59626 *.*
udp4 0 0 192.168.42.1.53 *.*
udp4 0 0 *.514 *.*
icm4 0 0 *.* *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
c1107d20 stream 0 0 c19bea50 0 0 0
/tmp/mysql.sock
c1107690 stream 0 0 c18cb840 0 0 0
/tmp/ssh-kimFaWKjlW/agent.87553
c1107578 stream 0 0 0 c1107604 0 0
c1107604 stream 0 0 0 c1107578 0 0
c1107b7c stream 0 0 c1a56948 0 0 0
/tmp/ssh-ZzNKMEtWpc/agent.72541
c110794c stream 0 0 0 c11079d8 0 0
c11079d8 stream 0 0 0 c110794c 0 0
c1108000 stream 0 0 c1105528 0 0 0
/var/run/devd.pipe
c11074ec dgram 0 0 0 c1107e38 0 c1107af0
c1107af0 dgram 0 0 0 c1107e38 0 c1107c94
c1107c08 dgram 0 0 0 c1107ec4 0 0
c1107c94 dgram 0 0 0 c1107e38 0 c1107dac
c1107dac dgram 0 0 0 c1107e38 0 0
c1107e38 dgram 0 0 c1106b58 0 c11074ec 0
/var/run/logpriv
c1107ec4 dgram 0 0 c1106c60 0 c1107c08 0
/var/run/log
bash-2.05b# mysql --user=jffnms --password jffnms
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 843 to server version: 4.1.14
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Alhagie Puye - Network Engineer
Datawave Group of Companies
(604)295-1817
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Javier Szyszlican
Sent: October 19, 2005 8:02 PM
Cc: [email protected]
Subject: Re: [jffnms-users] Jffnms on FreeBSD
CHeck if your MySQL is listeining on port 3306 on localhost
and not just on the UNIX socket.
Javier
Alhagie Puye wrote:
Hello all,
I'm having the toughest time getting jffnms to work on a
FreeBSD 5.4 box.
Anyone have instructions on the steps involved?
I have spent about 2 days getting apache to work with php but the
mysql component isn't working.
When I get to the jffnms setup page, it says "DB(mysql): Could not
connect to the Database" and even before that page, it
says "Is The
Database Working? ......No"
I can connect to the databases using the credential using
in the main
setup page.
Any help is greatly appreciated.
Thanks,
Alhagie Puye
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads,
discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you can, please
donate at http://jffnms.org/donate
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads,
discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users