Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki
(view source)
Revision as of 07:31, 23 May 2017
240 bytes added
,
07:31, 23 May 2017
→Change Username on MySQL Console
Line 54:
Line 54:
== Change Username on MySQL Console ==
== Change Username on MySQL Console ==
−
login into the MySQL Server, change database and enter:
+
login into the MySQL Server, change database and enter
(table prefix wiki_*)
:
<pre>
<pre>
−
update
user
set user_name = 'NewName' where user_name = 'OldName';
+
use wikidatabasename; #change database
−
update
revision
set rev_user_text = 'NewName' where rev_user_text = 'OldName';
+
show tables; #check prefix
−
update
recentchanges
set rc_user_text = 'NewName' where rc_user_text = 'OldName';
+
+
update
wikiprefix_user
set user_name = 'NewName' where user_name = 'OldName';
+
update
wikiprefix_revision
set rev_user_text = 'NewName' where rev_user_text = 'OldName';
+
update
wikiprefix_recentchanges
set rc_user_text = 'NewName' where rc_user_text = 'OldName';
</pre>
</pre>
+
+
Now login as new Username and test the Settings, History Changes.
+
All entries should show the new Username!
== Disable Talk at Mediawiki (Spam) ==
== Disable Talk at Mediawiki (Spam) ==
Author
Bureaucrats
,
Administrators
286
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Linux
Debian + Ubuntu
Apache Webserver
Openbox
SME server
Privoxy Tor
Postfix
Tinycore Linux
Tools
MySQL
MySQL
Wordpress
Customize
Unix
FreeBSD
Router OS
openwrt
pfsense
fritzbox
Netio Koukaam Wiki
netio-230a/b
Mediawiki
MediaWiki
Tools
Special pages
Printable version