Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StoneCypher/ef13c9f893dfe41f7865222ab997eacc to your computer and use it in GitHub Desktop.
Save StoneCypher/ef13c9f893dfe41f7865222ab997eacc to your computer and use it in GitHub Desktop.

How to load WIMB database

mysql -u your_user -p
(when prompted, put in password; now mysql prompt)
create database user_agents;
exit
mysql -u your_user -p user_agents < create-table-whatismybrowser_useragent.sql
mysql -u your_user -p user_agents -e "ALTER TABLE whatismybrowser_useragent DISABLE KEYS;"
mysql -u your_user -p user_agents < whatismybrowser-user-agent-database.sql
mysql -u your_user -p user_agents -e "ALTER TABLE whatismybrowser_useragent ENABLE KEYS;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment