Manual:$wgDBsqluser/pl

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Database settings</translate>: $wgDBsqluser
The SQL user used for queries.
<translate> Introduced in version:</translate>pre 1.1.0
<translate> Removed in version:</translate>1.5.0
<translate> Allowed values:</translate>(łańcuch)
<translate> Default value:</translate>'sqluser'

Szczegóły

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

File:OOjs UI icon notice-destructive.svg <translate> Warning:</translate> 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.