Topic on Project:Support desk

PuTTY fails to run rebuildall.php

6
Newman2 (talkcontribs)

I have been working in PuTTY to fix the problems I have with my second wiki (as a part of a larger wiki family) and fixing the separate database. However, there is one problem. I tried to run rebuildall.php as stated in [[Manual:Maintenance scripts]], but I got the following message: It is not possible to determine the wiki ID.

Also, I want assistance from another error. How do I fix Error: 1142 SELECT command denied to user 'gjlxrtap_mw34555'@'localhost' for table 'mwd50q_user' (localhost)? How do I get my user to have access to user table 'mwd50q_user'? Thank you for reading this.

Bawolff (talkcontribs)

If you run maintenance scripts for a wikifamily, you may have to specify --server and/or --wiki options so it knows which wiki you want to use. What precisely you have to do depends on how you have your wikifarm setup.

Newman2 (talkcontribs)

How do I specify the server and/or wiki options? Show me how it looks on PuTTY and Localsettings.php.

87.123.197.224 (talkcontribs)
Newman2 (talkcontribs)

I tried to type in command-line options in PuTTY, and it gave me the following error - bash: --wiki: command not found

Bawolff (talkcontribs)

Usually you would type something like (assuming you are in the maintenance directory)

php rebuildall.php --wiki putDBNameHERE
Reply to "PuTTY fails to run rebuildall.php"