Displaying 2 results from an estimated 2 matches for "yourdatabase".
2009 Jun 09
1
Resync quota to mysql script
...82) ON DUPLICATE KEY UPDATE
current=3982;
INSERT INTO quota (username,path,current) VALUES
('user at domain.com','quota/storage',31811740) ON DUPLICATE KEY UPDATE
current=31811740;
You can pipe this output directly to mysql.
eg.:
quotasync.py -a user at domain.com -o mysql | mysql yourdatabase
run quotasync.py --help to see all options
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys
I''d like to know how to change from using sqlite3 to mysql. I''m
running windows xp. What is the command that I must type under my
application folder? How to I log into the mysql database afterwards?
My database.yml file contents at the moment are:
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: sqlite3