• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Simple SQL Query

Stiganator

Platinum Member
Ok I'm trying to change the admin password for my wiki, but it won't run the query and I don't know why.

Database wikidb
table wiki_user

Query
---------
use wikidb;
update wiki_user set user_password=md5(concat('1-',md5('password'))) where user_id=1;
------

It doesn't work though, what am I doing wrong
 
btw, your query looks fine, other than the double md5 and the md5ing the word 'password'

i even created a table with that name and that column and tested it (in mysql)
 
Back
Top