Menu

#6 Add Password for Database user

open
nobody
None
5
2006-09-07
2006-09-07
Jan Metzger
No

It would be good if one could supply a password which
is used for connecting to the database. For MySQL the
solution would be as simple as adding a new
configuration variable

$DBUSERPASS="" to includes/config.inc

and changing line 34 in mysql.inc
to (probably als add a check whether the password is empty)

$conn = mysql_connect( "localhost", $DBUSERNAME,
$DBUSERPASS );

This would need some complementing code in install.sh.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.