Make project script fails

Message boards : Server programs : Make project script fails
Message board moderation

To post messages, you must log in.

AuthorMessage
lblgreengenes

Send message
Joined: 28 Jul 09
Posts: 1
United States
Message 26321 - Posted: 28 Jul 2009, 19:19:13 UTC

I did a search, and found nothing, so here it goes. This is our first time setting up a BOINC server, so we are new to this.

When running the make project script, we get an error:

_mysql_exceptions.OperationalError: (1045, "Access denied for user 'boincadm'@'localhost' (using password: NO)")


I have already granted permissions to this user with the command
grant all on *.* to yourname@localhost identified by 'password';

using the correct usernames, of course.

Any help would be greatly appreciated.
ID: 26321 · Report as offensive
rroonnaalldd

Send message
Joined: 7 Jan 08
Posts: 31
Germany
Message 26358 - Posted: 30 Jul 2009, 8:45:29 UTC
Last modified: 30 Jul 2009, 8:45:39 UTC

Are you sure with no password?
ID: 26358 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 26486 - Posted: 4 Aug 2009, 23:08:52 UTC - in response to Message 26321.  
Last modified: 4 Aug 2009, 23:10:01 UTC

You need to tell make_project what the database username and password are. See the MakeProject wiki page.

Also, note that MySQL accounts are independent and unrelated from the system accounts. When you ran that 'grant' command, you added a new MySQL user.
ID: 26486 · Report as offensive
Letharion

Send message
Joined: 4 Sep 09
Posts: 12
Sweden
Message 27248 - Posted: 10 Sep 2009, 15:26:38 UTC

Login in directly with the username and password is always the best way to check that your credentials are in order.

This is a mysql problem until that works.

For reasons I don't understand, I have also needed to replace
grant all on *.* to yourname@localhost identified by 'password';
with
grant all on *.* to 'yourname'@'localhost' identified by 'password';
to make it work.
flush privileges; also won't hurt.

ID: 27248 · Report as offensive

Message boards : Server programs : Make project script fails

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.