-
Notifications
You must be signed in to change notification settings - Fork 9
/
QUICKSTART.mysql
63 lines (37 loc) · 1.79 KB
/
QUICKSTART.mysql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Quickstart instructions for MyDNS (MySQL installation):
...............................................................................
1. Configure and install MyDNS.
$ ./configure
$ make
# make install
If "make" fails, please read the "README.mysql" file located in this
directory.
...............................................................................
2. Create a database called `mydns' on your MySQL server.
$ mysqladmin -u <username> -p create mydns
Enter password:
...............................................................................
3. Create a user the mydns(8) server can use to access the `mydns' database.
$ mysql -u <user> -p mydns
Enter password:
mysql> GRANT SELECT ON mydns.* TO <user>@localhost
IDENTIFIED BY '<password>';
...............................................................................
4. Create the tables in the `mydns' database.
$ mydns --create-tables | mysql -u <user> -p mydns
Enter password:
...............................................................................
5. Create your configuration file.
# make conf
...............................................................................
6. Edit the configuration file. Change the `db-user' and `db-pass'
values to reflect the user name and password you created in step 3.
...............................................................................
7. Start `mydns'. You may want to add something like this to your startup
scripts.
# mydns --background
...............................................................................
If you currently have a name server running BIND or something else, you can use
the `mydnsimport' program to import the data from that server into your new
MyDNS database. See the user's manual for details.
## vi:set ts=3: