Snort mailing list archives

BASE - Access denied to MySql database


From: Oleg Ruso <soy_siberiano () yahoo com>
Date: Sun, 12 Jul 2015 08:18:27 +0000 (UTC)

Hi List.
Got some trouble with a BASE 1.4.5 
"Access denied for user ''@'localhost' to database 'snort' "


My environment:
FreeBSD 9.1
PHP Version 5.4.42
nginx-devel-1.9.2_1
mysql56-client-5.6.24_1        
mysql56-server-5.6.24    

The snort & barnyard2 & Mysql base working extremely well. And was not any problem with a BASE, until  
  installed an PHP extensions 
-----------------------
PDO_MYSQL
SIMPLEXML
MCRYPT
HASH
----------------------

This extensions needs for a web service. 
I can to log in to snort mysql database by name/passwd , that specified in base_conf.php
----------------------------
    $alert_dbname   = 'snort';
    $alert_host     = 'localhost:/tmp/mysql.sock'; or 127.0.0.1 or localhost, is a simular result
    $alert_port     = '';
    $alert_user     = '********';
    $alert_password = '********';
-------------------------------

SELECT count(*) FROM event;

Connection id:    86
Current database: snort

mysql> SELECT count(*) FROM event;
+----------+
| count(*) |
+----------+
|      335 |
+----------+
1 row in set (0,01 sec)

But when i puting on my username/passwd to BASE login web form, got :
Access denied for user ''@'localhost' to database 'snort'

I attempted to  disable https(ssl) type connection for the web server, but result is a simular. 

What`s wrong?  Any ideas?
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: