MySQL RealTime: No database host found, using localhost via socket.

Bug #404912 reported by Philipp Kempgen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Asterisk
New
Undecided
Unassigned
Gemeinschaft (by Amooma)
Invalid
Wishlist
Unassigned
Gemeinschaft (ph.)
Invalid
Wishlist
Unassigned

Bug Description

There are 2 messages from parse_config() in res_config_mysql.c (in
asterisk-addons) which I find somewhat disturbing:

[Jul 26 09:09:15] WARNING[12711]: res_config_mysql.c:556 parse_config:
  MySQL RealTime: No database host found, using localhost via socket.

IMHO that does not justify a WARNING. After all my res_mysql.conf
looks like this:

dbsock = /var/run/mysqld/mysqld.sock
dbuser = asterisk
dbpass = secret
dbname = asterisk

The fact that there is a dbsock but no dbhost makes it quite obvious
that the socket should be used. Nothing to alert me about.

[Jul 26 09:09:15] WARNING[12711]: res_config_mysql.c:570 parse_config:
  MySQL RealTime: No database port found, using 3306 as default.

Even more so no reason to alert me. My web browser doesn't warn me
that it's going to use port 80 for HTTP by default.

Please make those messages a NOTICE or less.

Changed in gemeinschaft-amooma:
importance: Undecided → Wishlist
status: New → Invalid
Changed in gemeinschaft:
importance: Undecided → Wishlist
status: New → Invalid
Revision history for this message
Clod Patry (cpatry) wrote :

I agree these warnings should be verbose and not WARNING.
I will fix this upstream.
Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.