Welcome To Snipplr
Everyone's Recent MySQL Snippets Tagged database
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Sets up the database for my project management software (in development - C#)
0
797
posted 9 years ago by JordanRowles
This is a very simple snippet about how to create a database 1st, a user and then assign some privileges to the user to allow him/her to perform some specific actions like insert, create, update, select etc.
0
779
posted 10 years ago by apphp-snippets
You could start a transaction before running your queries and then rollback after running them. Note that to do this you'll require InnoDB or XtraDb tables (won't work on MyISAM).
0
780
posted 11 years ago by satie83
If you\'ve got a Wordpress install that\'s changed domain or you\'re making a local or development copy, you\'ll need to update the Wordpress DB tables with the new URL.\r\nThe first step is the options table, with siteurl and homeurl. The posts als...
1
575
posted 13 years ago by timkinnane
granting DB specific and general access priveleges from the CLI
1
663
posted 14 years ago by stiobhart
« Prev 1 Next »