Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Agent86 on August 23, 2006, 04:51:17 AM
-
Why does SME not allow writing to the server tmp file? Mainly for the ibays which may contain webfiles or scripts, or databases that direct things to be written to the temp file.
And what to do about it?
-
The config file below:
// mysql, postgres or any db supported by adodb
//
$engine = 'mysql';
//
// the database user
//
$user = 'root';
//
// the password for the database user
//
$password = '?';
//
// the host (machine) for the database. this is 'localhost' in most of the cases
//
$host = 'localhost';
//
// The name of the database.
//
$database = 'brim';
?>
NEVER USE THE ROOT ACCOUNT FOR APPLICATIONS
(Sorry for yelling, but it seems hard to get that this is a big security issue, and not done also because of the special features the root account has on a SME Server).
Instead create a seperate user which has the neccessarry priviliges to access the database:
Login by terminal access as root without a password:mysql -u root
Get hold of the database name,, think of a username and a password so we can create it using the following statements:
grant all privileges on database.* to 'username'@'localhost' identified by 'password';
flush privileges;
quit
(Mind the ticks around the username and the password).
-
Deleted
-
Hi all, I installed Brim which is pretty cool, I think
Your post is in the wrong forum. This forum is for discussion of standard built-in features only. Thanks.
-
Deleted
-
Wrong try again.
As I've mentioned before if you cannot help then please do not answer the posts nor make corrections about proper forum ethics.
Forum index[/url]"]SME Server 7.x
Discussion of the use of *ONLY* the components and features included on the SME Server 7.x CD. Please help the developers by reporting any problems to the Bug Tracker first, not here.
Forum index[/url]"]SME 7.x Contribs
Discussions related to development and use of addons for SME Server. Discuss user-contributed rpms, howto's and scripts here.
Charly is absolutely right with his comment on where to post. You should stick to the rules as stated in the index of the forums (http://wiki.contribs.org/) to keep everything clear and well organized.
And thanks cactus this worked great and this subject is now closed as solved.Thanks again
You're welcome!
-
Thanks you all for ruining this thread
It should be completely deleted now that it has nothing to do with computers at all.