Podręcznik:$wgDBsqluser

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgDBsqluser and the translation is 33% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎polski • ‎русский • ‎فارسی • ‎日本語
Sysop SQL queries: $wgDBsqluser
The SQL user used for queries.
Wprowadzono w wersji:pre 1.1.0
Usunięto w wersji:1.5.0
Dozwolone wartości:(łańcuch)
Domyślna wartość:'sqluser'
Inne ustawienia: Alfabetycznie | Według funkcji

Szczegóły

The SQL user used for read-only queries in the (no longer existing) Special:Asksql.

Uwaga Uwaga: THIS IS VERY INSECURE. If you want to allow semipublic read-only SQL access for your sysops, you should define a MySQL user with limited privileges. Review the MySQL documentation at http://dev.mysql.com/doc/refman/5.7/en/grant.html on how permissions can be granted in the database subsystem.

The MySQL user shouldn't have too many rights over the database, restrict it to SELECT only on 'cur' table for example.