Estimated read time: 1 minutes
GRANT ALL privileges on dbname.* TO 'username'@'localhost' IDENTIFIED BY 'secret';
Estimated read time: 1 minutes
Estimated read time: 1 minutes
i always forgot how to grant full access to a db for a normal user in mysql and have to rtfm from time to time. so i post here the magic command, hopefully it’ll be a bit easier to search in the blog archive than rtfm’ing :)
GRANT ALL privileges on dbname.* TO 'username'@'localhost' IDENTIFIED BY 'secret';
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
just a draft about how to re-call a plugin from an other plugin in the setup:
extern GList *plugin_list;here we call the loadsource plugin from an another pluginint i; plugin_t *plugin;
for (i=0; i
name, "loadsource")) plugin->run(config); }
Estimated read time: 1 minutes
$ cg-clone http://www.kernel.org/pub/scm/git/git.gitthis will fetch a git repo for you, as dr get does not works yet (i don't see if this is planned or not), but then do a
cd git; dr changes --last=5and it really works fine :)
Estimated read time: 1 minutes
during coding the setup, i noticed some strange behaviours, i debugged then for a long time ;)
so to learn from my faults:
an other thing: i forgot again and again what's the difference between
stepand
nextin gdb:
ah, and if you want to execute the whole code line by line from the begining, you'll need
break 1and then the usual
run
Estimated read time: 1 minutes
yet another setup update :)
a short TODOlist what have to be done:
everything else seems to be completed! :)
Estimated read time: 1 minutes