Last modified: 2014-01-13 18:36:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61843, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59843 - README, scripts don't set MySQL user up properly
README, scripts don't set MySQL user up properly
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
Wikimetrics (Other open bugs)
unspecified
All Linux
: Unprioritized normal
: ---
Assigned To: Dan Andreescu
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-08 23:18 UTC by Sumana Harihareswara
Modified: 2014-01-13 18:36 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sumana Harihareswara 2014-01-08 23:18:51 UTC
If you follow the README*, it tells you to try to run some SQL scripts from the bash command line; it should say something like "sudo mysql -p < scripts/00_create_wikimetrics_db .

If you try to manually do what the scripts in the scripts/ directory aim to do, the "wikimetrics" user does not get created properly -- it needs to exist and have a password set.

(Dan and I were testing this out today - he might have better troubleshooting/records in his .bash_history, etc.)
Comment 1 Sumana Harihareswara 2014-01-08 23:19:23 UTC
Dan, I think you wanted me to assign this to you?
Comment 2 Sumana Harihareswara 2014-01-10 01:17:23 UTC
https://gerrit.wikimedia.org/r/#/c/106546/ addresses part of this bug, but when I do

$ sudo mysql < scripts/00_create_wikimetrics_db

I get

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Comment 3 Gerrit Notification Bot 2014-01-10 21:29:46 UTC
Change 106775 had a related patch set uploaded by Milimetric:
For Bug 59843

https://gerrit.wikimedia.org/r/106775
Comment 4 Gerrit Notification Bot 2014-01-13 17:51:07 UTC
Change 106775 merged by Milimetric:
For Bug 59843

https://gerrit.wikimedia.org/r/106775
Comment 5 Dan Andreescu 2014-01-13 18:36:13 UTC
Please re-open if it's not solved with the new change.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links