In the default config, it creates databases as needed for various indexes.
I guess that's what you're hitting.

(yes, ideally it could use one database with different tables. The current
arrangement fell out naturally from the abstraction, but isn't great for
tidiness reasons.)


On Sat, Dec 10, 2016 at 10:15 PM, <[email protected]> wrote:

> When I followed the docs for installing Camlistore on Windows, I ran into
> an issue with the DB installation.
>
> E:\Programming\Go\src\camlistore>bin\camtool.exe -verbose dbinit
> -user=camli -pas
> sword=something -dbname "camlistore" -wipe
> SQL error: Error 1044: Access denied for user 'camli'@'%' to database
> 'mysql'
>
> I thought that was strange, especially since this was my database setup:
>
> create database if not exists camlistore;
> create user 'camli'@'something';
> grant all privileges on camlistore.* to 'camli'@'localhost' identified by
> 'something';
> flush privileges;
>
> When I tried it again, I got the same error. However, when I did this to
> my DB user:
>
> grant all privileges on *.* to 'camli'@'localhost' identified by
> 'something';
>
> ...it started working. Why does Camlistore need root access? It's not
> really a problem, it just seems excessive.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Camlistore" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Camlistore" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to