This assumes you have access to a working mysql client/server setup, with create database priveleges. You can download MySQL for free from the official MySQL site at http://dev.mysql.com/downloads/mysql/5.0.html#downloads .
Download either bible.mysql.gz or bible.mysql.txt from this site's Download page. Linux / Mac users will probably want the former, Windows users the latter.
gunzip bible.mysql.gz
Your 3M zipped file should morph into an 11M file called bible.mysql.
mysql -u username -h hostname -pxxxxx bible
Check that you have all four tables:
mysql> show tables from bible; +-----------------+ | Tables_in_bible | +-----------------+ | apoc | | bible | | bible_basic | | books | +-----------------+
The King James Version is contained in the bible table, the Basic English bible is in the bible_basic table, the Apocrypha is in the apoc table, and the books table contains mappings of book abbreviations to book names. It also says which testament a book belongs to.
Do a desc tablename on any table to see the structure. They're all pretty simple.
That's it. Now get playing with some queries.
With a brand new MySQL installation, it might bomb out with an error
ERROR 1044 (42000) at line 18: Access denied for user 'richselby'@'localhost' to database 'bible'
This means that your mysql user doesn't have permission to use the bible database which it has just created. The solution to this is to run mysql preferably as root or any user with a high degree of privilege, and run the command
CREATE DATABASE bible; GRANT ALL ON bible.* TO 'richselby'@localhost;
Obviously, stick your own username and host in the command, not mine.
Comments
ack... remote server?
THANK YOU for the database!
Works & installs fine here at home... but what about ULing it to my ISP? phpMyAdmin fails (takes a while, y'know!), the INSERTs are long lines so I can't write some kind of VB file-splitter...
Suggestions...?
thanks!