MySQL++

Hex Artifact Content
Login

Hex Artifact Content

Artifact 245c21d95d5cef5e033f0a24405c2549160c2c80be11e8e80380a82f4cb86e88:

Wiki page [MySQL++] by tangent 2019-12-03 13:21:16.
0000: 44 20 32 30 31 39 2d 31 32 2d 30 33 54 31 33 3a  D 2019-12-03T13:
0010: 32 31 3a 31 36 2e 38 31 34 0a 4c 20 4d 79 53 51  21:16.814.L MySQ
0020: 4c 2b 2b 0a 4e 20 74 65 78 74 2f 78 2d 6d 61 72  L++.N text/x-mar
0030: 6b 64 6f 77 6e 0a 50 20 38 39 61 63 32 38 36 30  kdown.P 89ac2860
0040: 36 61 34 38 62 39 31 63 62 63 37 65 37 66 33 34  6a48b91cbc7e7f34
0050: 34 38 34 65 61 63 37 37 31 30 65 37 66 61 37 33  484eac7710e7fa73
0060: 62 36 38 37 62 31 30 30 35 36 61 62 33 38 31 61  b687b10056ab381a
0070: 61 63 37 62 39 30 65 63 0a 55 20 74 61 6e 67 65  ac7b90ec.U tange
0080: 6e 74 0a 57 20 36 30 30 37 0a 3c 69 6d 67 20 73  nt.W 6007.<img s
0090: 72 63 3d 22 2f 6d 79 73 71 6c 70 70 2f 66 69 6c  rc="/mysqlpp/fil
00a0: 65 2f 73 74 61 74 69 63 2f 6c 6f 67 6f 2d 73 6d  e/static/logo-sm
00b0: 61 6c 6c 2e 6a 70 67 3f 64 6f 77 6e 6c 6f 61 64  all.jpg?download
00c0: 22 20 61 6c 74 3d 22 4d 79 53 51 4c 2b 2b 20 72  " alt="MySQL++ r
00d0: 6f 63 6b 73 22 20 77 69 64 74 68 3d 22 33 30 30  ocks" width="300
00e0: 22 20 68 65 69 67 68 74 3d 22 31 34 32 22 20 73  " height="142" s
00f0: 74 79 6c 65 3d 22 66 6c 6f 61 74 3a 72 69 67 68  tyle="float:righ
0100: 74 3b 20 6d 61 72 67 69 6e 2d 6c 65 66 74 3a 32  t; margin-left:2
0110: 30 70 78 22 20 2f 3e 0d 0a 0d 0a 4d 79 53 51 4c  0px" />....MySQL
0120: 2b 2b 20 69 73 20 61 20 43 2b 2b 20 77 72 61 70  ++ is a C++ wrap
0130: 70 65 72 20 66 6f 72 20 5b 4d 79 53 51 4c 5d 28  per for [MySQL](
0140: 68 74 74 70 3a 2f 2f 6d 79 73 71 6c 2e 63 6f 6d  http://mysql.com
0150: 2f 29 e2 80 99 73 20 43 20 41 50 49 2e 20 49 74  /)’s C API. It
0160: 20 69 73 20 62 75 69 6c 74 20 61 72 6f 75 6e 64   is built around
0170: 20 74 68 65 20 73 61 6d 65 20 70 72 69 6e 63 69   the same princi
0180: 70 6c 65 73 20 61 73 20 74 68 65 20 53 74 61 6e  ples as the Stan
0190: 64 61 72 64 20 43 2b 2b 20 4c 69 62 72 61 72 79  dard C++ Library
01a0: 2c 20 74 6f 20 6d 61 6b 65 20 64 65 61 6c 69 6e  , to make dealin
01b0: 67 20 77 69 74 68 20 74 68 65 20 64 61 74 61 62  g with the datab
01c0: 61 73 65 20 61 73 20 65 61 73 79 20 61 73 20 64  ase as easy as d
01d0: 65 61 6c 69 6e 67 20 77 69 74 68 20 53 54 4c 20  ealing with STL 
01e0: 63 6f 6e 74 61 69 6e 65 72 73 2e 20 49 6e 20 61  containers. In a
01f0: 64 64 69 74 69 6f 6e 2c 20 4d 79 53 51 4c 2b 2b  ddition, MySQL++
0200: 20 70 72 6f 76 69 64 65 73 20 66 61 63 69 6c 69   provides facili
0210: 74 69 65 73 20 74 68 61 74 20 6c 65 74 20 79 6f  ties that let yo
0220: 75 20 61 76 6f 69 64 20 74 68 65 20 6d 6f 73 74  u avoid the most
0230: 20 72 65 70 65 74 69 74 69 76 65 20 73 6f 72 74   repetitive sort
0240: 73 20 6f 66 20 53 51 4c 20 77 69 74 68 69 6e 20  s of SQL within 
0250: 79 6f 75 72 20 6f 77 6e 20 63 6f 64 65 2c 20 70  your own code, p
0260: 72 6f 76 69 64 69 6e 67 20 6e 61 74 69 76 65 20  roviding native 
0270: 43 2b 2b 20 69 6e 74 65 72 66 61 63 65 73 20 66  C++ interfaces f
0280: 6f 72 20 74 68 65 73 65 20 63 6f 6d 6d 6f 6e 20  or these common 
0290: 74 61 73 6b 73 2e 0d 0a 0d 0a 49 66 20 79 6f 75  tasks.....If you
02a0: 20 68 61 76 65 20 71 75 65 73 74 69 6f 6e 73 20   have questions 
02b0: 61 62 6f 75 74 20 74 68 69 73 20 70 72 6f 6a 65  about this proje
02c0: 63 74 20 61 6e 64 20 63 61 6e e2 80 99 74 20 66  ct and can’t f
02d0: 69 6e 64 20 61 6e 20 61 6e 73 77 65 72 20 69 6e  ind an answer in
02e0: 20 74 68 65 20 5b 64 6f 63 75 6d 65 6e 74 61 74   the [documentat
02f0: 69 6f 6e 5d 28 2f 77 69 6b 69 3f 6e 61 6d 65 3d  ion](/wiki?name=
0300: 44 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 29 20 6f  Documentation) o
0310: 72 20 74 68 65 20 5b 6d 61 69 6c 69 6e 67 20 6c  r the [mailing l
0320: 69 73 74 20 61 72 63 68 69 76 65 73 5d 28 68 74  ist archives](ht
0330: 74 70 3a 2f 2f 6c 69 73 74 73 2e 6d 79 73 71 6c  tp://lists.mysql
0340: 2e 63 6f 6d 2f 70 6c 75 73 70 6c 75 73 2f 29 2c  .com/plusplus/),
0350: 20 61 73 6b 20 6f 6e 20 5b 74 68 65 20 77 65 62   ask on [the web
0360: 20 66 6f 72 75 6d 5d 28 2f 66 6f 72 75 6d 29 20   forum](/forum) 
0370: 6f 72 20 5b 74 68 65 20 6d 61 69 6c 69 6e 67 20  or [the mailing 
0380: 6c 69 73 74 5d 28 68 74 74 70 3a 2f 2f 6c 69 73  list](http://lis
0390: 74 73 2e 6d 79 73 71 6c 2e 63 6f 6d 2f 70 6c 75  ts.mysql.com/plu
03a0: 73 70 6c 75 73 2f 29 2e 20 57 65 20 61 6c 73 6f  splus/). We also
03b0: 20 68 61 76 65 20 61 20 5b 74 69 63 6b 65 74 20   have a [ticket 
03c0: 73 79 73 74 65 6d 5d 28 2f 74 6b 74 6e 65 77 29  system](/tktnew)
03d0: 2c 20 62 75 74 20 69 74 27 73 20 62 65 73 74 20  , but it's best 
03e0: 74 6f 20 64 69 73 63 75 73 73 20 73 75 63 68 20  to discuss such 
03f0: 74 68 69 6e 67 73 20 66 69 72 73 74 20 62 65 66  things first bef
0400: 6f 72 65 20 66 69 6c 69 6e 67 20 61 20 74 69 63  ore filing a tic
0410: 6b 65 74 2e 0d 0a 0d 0a 0d 0a 23 23 20 3c 61 20  ket.......## <a 
0420: 6e 61 6d 65 3d 22 73 74 61 62 6c 65 22 3e 3c 2f  name="stable"></
0430: 61 3e 4c 61 74 65 73 74 20 53 74 61 62 6c 65 20  a>Latest Stable 
0440: 56 65 72 73 69 6f 6e 0d 0a 0d 0a 42 65 66 6f 72  Version....Befor
0450: 65 20 75 70 67 72 61 64 69 6e 67 20 61 6e 20 65  e upgrading an e
0460: 78 69 73 74 69 6e 67 20 76 65 72 73 69 6f 6e 20  xisting version 
0470: 6f 66 20 4d 79 53 51 4c 2b 2b 2c 20 70 6c 65 61  of MySQL++, plea
0480: 73 65 20 73 63 61 6e 20 74 68 72 6f 75 67 68 20  se scan through 
0490: 74 68 65 20 5b 63 68 61 6e 67 65 20 6c 6f 67 5d  the [change log]
04a0: 28 2f 64 6f 63 2f 74 72 75 6e 6b 2f 43 68 61 6e  (/doc/trunk/Chan
04b0: 67 65 4c 6f 67 2e 6d 64 29 20 66 69 72 73 74 2e  geLog.md) first.
04c0: 20 49 66 20 79 6f 75 e2 80 99 72 65 20 63 6f 6d   If you’re com
04d0: 69 6e 67 20 66 72 6f 6d 20 61 20 6d 75 63 68 20  ing from a much 
04e0: 6f 6c 64 65 72 20 76 65 72 73 69 6f 6e 2c 20 62  older version, b
04f0: 65 74 74 65 72 20 72 65 61 64 20 74 68 72 6f 75  etter read throu
0500: 67 68 20 74 68 65 20 e2 80 9c 5b 49 6e 63 6f 6d  gh the “[Incom
0510: 70 61 74 69 62 6c 65 20 4c 69 62 72 61 72 79 20  patible Library 
0520: 43 68 61 6e 67 65 73 5d 28 64 6f 63 2f 68 74 6d  Changes](doc/htm
0530: 6c 2f 75 73 65 72 6d 61 6e 2f 62 72 65 61 6b 61  l/userman/breaka
0540: 67 65 73 2e 68 74 6d 6c 29 e2 80 9d 20 63 68 61  ges.html)” cha
0550: 70 74 65 72 20 69 6e 20 74 68 65 20 5b 75 73 65  pter in the [use
0560: 72 20 6d 61 6e 75 61 6c 5d 28 64 6f 63 2f 68 74  r manual](doc/ht
0570: 6d 6c 2f 75 73 65 72 6d 61 6e 2f 29 20 69 6e 73  ml/userman/) ins
0580: 74 65 61 64 2e 20 0d 0a 0d 0a 0d 0a 23 23 23 20  tead. ......### 
0590: 3c 61 20 6e 61 6d 65 3d 22 73 6f 75 72 63 65 22  <a name="source"
05a0: 3e 3c 2f 61 3e 53 6f 75 72 63 65 20 43 6f 64 65  ></a>Source Code
05b0: 0d 0a 0d 0a 54 68 65 20 4d 79 53 51 4c 2b 2b 20  ....The MySQL++ 
05c0: 73 6f 75 72 63 65 20 63 6f 64 65 20 69 73 20 61  source code is a
05d0: 76 61 69 6c 61 62 6c 65 20 69 6e 20 73 65 76 65  vailable in seve
05e0: 72 61 6c 20 66 6f 72 6d 73 3a 0d 0a 0d 0a 2a 20  ral forms:....* 
05f0: 20 20 2a 2a 52 65 6c 65 61 73 65 20 54 61 72 62    **Release Tarb
0600: 61 6c 6c 3a 2a 2a 20 5b 6d 79 73 71 6c 2b 2b 2d  all:** [mysql++-
0610: 33 2e 32 2e 35 2e 74 61 72 2e 67 7a 5d 28 72 65  3.2.5.tar.gz](re
0620: 6c 65 61 73 65 73 2f 6d 79 73 71 6c 2b 2b 2d 33  leases/mysql++-3
0630: 2e 32 2e 35 2e 74 61 72 2e 67 7a 29 c2 a0 28 34  .2.5.tar.gz) (4
0640: 2e 35 c2 a0 4d 69 42 2c c2 a0 32 30 31 39 2e 30  .5 MiB, 2019.0
0650: 37 2e 32 31 29 20 e2 80 94 20 49 66 20 79 6f 75  7.21) — If you
0660: 20 61 72 65 6e e2 80 99 74 20 73 75 72 65 20 77   aren’t sure w
0670: 68 69 63 68 20 66 69 6c 65 20 74 6f 20 64 6f 77  hich file to dow
0680: 6e 6c 6f 61 64 2c 20 64 6f 77 6e 6c 6f 61 64 20  nload, download 
0690: 74 68 69 73 2e 0d 0a 0d 0a 2a 20 20 2a 2a 52 65  this.....*  **Re
06a0: 6c 65 61 73 65 20 53 52 50 4d 3a 2a 2a 20 5b 6d  lease SRPM:** [m
06b0: 79 73 71 6c 2b 2b 2d 33 2e 32 2e 35 2d 31 2e 65  ysql++-3.2.5-1.e
06c0: 6c 37 2e 73 72 63 2e 72 70 6d 5d 28 72 65 6c 65  l7.src.rpm](rele
06d0: 61 73 65 73 2f 6d 79 73 71 6c 2b 2b 2d 33 2e 32  ases/mysql++-3.2
06e0: 2e 35 2d 31 2e 65 6c 37 2e 73 72 63 2e 72 70 6d  .5-1.el7.src.rpm
06f0: 29 c2 a0 28 33 2e 33 c2 a0 4d 69 42 2c c2 a0 32  ) (3.3 MiB, 2
0700: 30 31 39 2e 30 37 2e 32 31 29 20 e2 80 94 20 46  019.07.21) — F
0710: 6f 72 20 74 68 6f 73 65 20 74 68 61 74 20 6e 65  or those that ne
0720: 65 64 20 74 6f 20 62 75 69 6c 64 20 74 68 65 69  ed to build thei
0730: 72 20 6f 77 6e 20 62 69 6e 61 72 79 20 52 50 4d  r own binary RPM
0740: 73 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 24 20  s:....        $ 
0750: 72 70 6d 62 75 69 6c 64 20 2d 2d 72 65 62 75 69  rpmbuild --rebui
0760: 6c 64 20 2f 77 68 65 72 65 76 65 72 2f 69 74 2f  ld /wherever/it/
0770: 69 73 2f 6d 79 73 71 6c 2b 2b 2d 33 2e 32 2e 35  is/mysql++-3.2.5
0780: 2d 31 2e 65 6c 37 2e 73 72 63 2e 72 70 6d 0d 0a  -1.el7.src.rpm..
0790: 0d 0a 20 20 20 20 54 68 65 20 72 65 73 75 6c 74  ..    The result
07a0: 69 6e 67 20 60 6d 79 73 71 6c 2b 2b 60 2c 20 60  ing `mysql++`, `
07b0: 6d 79 73 71 6c 2b 2b 2d 64 65 76 65 6c 60 20 61  mysql++-devel` a
07c0: 6e 64 20 60 6d 79 73 71 6c 2b 2b 2d 6d 61 6e 75  nd `mysql++-manu
07d0: 61 6c 73 60 20 52 50 4d 73 20 73 68 6f 75 6c 64  als` RPMs should
07e0: 20 74 68 65 6e 20 62 65 20 66 6f 75 6e 64 20 69   then be found i
07f0: 6e 20 60 7e 2f 72 70 6d 62 75 69 6c 64 2f 52 50  n `~/rpmbuild/RP
0800: 4d 53 2f 78 38 36 5f 36 34 60 20 69 66 20 79 6f  MS/x86_64` if yo
0810: 75 20 64 69 64 20 69 74 20 6f 6e 20 61 20 36 34  u did it on a 64
0820: 2d 62 69 74 20 78 38 36 20 62 61 73 65 64 20 4c  -bit x86 based L
0830: 69 6e 75 78 20 62 6f 78 2e 0d 0a 0d 0a 2a 20 20  inux box.....*  
0840: 2a 2a 54 69 70 2d 6f 66 2d 74 72 75 6e 6b 20 54  **Tip-of-trunk T
0850: 61 72 62 61 6c 6c 3a 2a 2a 20 5b 6d 79 73 71 6c  arball:** [mysql
0860: 2b 2b 2d 74 72 75 6e 6b 2e 74 61 72 2e 67 7a 5d  ++-trunk.tar.gz]
0870: 28 2f 74 61 72 62 61 6c 6c 2f 6d 79 73 71 6c 25  (/tarball/mysql%
0880: 32 42 25 32 42 2d 74 72 75 6e 6b 2e 74 61 72 2e  2B%2B-trunk.tar.
0890: 67 7a 3f 75 75 69 64 3d 74 72 75 6e 6b 29 20 e2  gz?uuid=trunk) 
08a0: 80 94 20 46 6f 72 20 74 68 6f 73 65 20 77 68 6f   For those who
08b0: 20 6e 65 65 64 20 74 68 65 20 6c 61 74 65 73 74   need the latest
08c0: 20 62 6c 65 65 64 69 6e 67 2d 65 64 67 65 20 76   bleeding-edge v
08d0: 65 72 73 69 6f 6e 20 77 69 74 68 6f 75 74 20 62  ersion without b
08e0: 6f 74 68 65 72 69 6e 67 20 77 69 74 68 20 46 6f  othering with Fo
08f0: 73 73 69 6c 2e 20 54 68 69 73 20 69 73 20 22 73  ssil. This is "s
0900: 74 61 62 6c 65 22 20 69 6e 20 74 68 65 20 73 65  table" in the se
0910: 6e 73 65 20 74 68 61 74 20 6f 75 72 20 72 65 70  nse that our rep
0920: 6f 73 69 74 6f 72 79 20 74 72 75 6e 6b 20 61 6c  ository trunk al
0930: 6d 6f 73 74 20 61 6c 77 61 79 73 20 63 6f 6d 70  most always comp
0940: 69 6c 65 73 20 61 6e 64 20 72 75 6e 73 3b 20 65  iles and runs; e
0950: 78 70 65 72 69 6d 65 6e 74 61 6c 20 77 6f 72 6b  xperimental work
0960: 20 69 73 20 64 6f 6e 65 20 6f 6e 20 62 72 61 6e   is done on bran
0970: 63 68 65 73 20 74 6f 20 61 76 6f 69 64 20 64 65  ches to avoid de
0980: 73 74 61 62 69 6c 69 7a 69 6e 67 20 74 72 75 6e  stabilizing trun
0990: 6b 2e 0d 0a 0d 0a 2a 20 20 20 2a 2a 46 6f 73 73  k.....*   **Foss
09a0: 69 6c 20 52 65 70 6f 73 69 74 6f 72 79 3a 2a 2a  il Repository:**
09b0: 20 59 6f 75 20 6d 61 79 20 5b 63 6c 6f 6e 65 20   You may [clone 
09c0: 6f 75 72 20 46 6f 73 73 69 6c 20 72 65 70 6f 73  our Fossil repos
09d0: 69 74 6f 72 79 5d 28 2f 64 6f 63 2f 74 72 75 6e  itory](/doc/trun
09e0: 6b 2f 48 41 43 4b 45 52 53 2e 6d 64 29 20 74 6f  k/HACKERS.md) to
09f0: 20 67 65 74 20 74 68 65 20 63 75 72 72 65 6e 74   get the current
0a00: 20 77 6f 72 6b 20 6f 6e 20 4d 79 53 51 4c 2b 2b   work on MySQL++
0a10: 20 77 69 74 68 20 5b 61 62 72 69 64 67 65 64 20   with [abridged 
0a20: 68 69 73 74 6f 72 79 5d 28 2f 77 69 6b 69 3f 6e  history](/wiki?n
0a30: 61 6d 65 3d 41 62 72 69 64 67 65 64 2b 56 65 72  ame=Abridged+Ver
0a40: 73 69 6f 6e 2b 48 69 73 74 6f 72 79 29 20 67 6f  sion+History) go
0a50: 69 6e 67 20 62 61 63 6b 20 74 6f 20 74 68 65 20  ing back to the 
0a60: 70 72 6f 6a 65 63 74 27 73 20 66 6f 75 6e 64 69  project's foundi
0a70: 6e 67 2c 20 74 68 65 20 77 69 6b 69 20 63 6f 6e  ng, the wiki con
0a80: 74 65 6e 74 73 2c 20 6f 75 72 20 74 69 63 6b 65  tents, our ticke
0a90: 74 20 74 72 61 63 6b 65 72 20 63 6f 6e 74 65 6e  t tracker conten
0aa0: 74 73 2c 20 66 6f 72 75 6d 20 70 6f 73 74 73 2c  ts, forum posts,
0ab0: 20 61 6e 64 20 6d 6f 72 65 2e 20 54 68 65 20 72   and more. The r
0ac0: 65 70 6f 73 69 74 6f 72 79 20 69 73 20 5b 77 65  epository is [we
0ad0: 6c 6c 2d 74 61 67 67 65 64 5d 28 2f 74 61 67 6c  ll-tagged](/tagl
0ae0: 69 73 74 29 2c 20 73 6f 20 79 6f 75 20 63 61 6e  ist), so you can
0af0: 20 63 6f 6d 70 61 72 65 20 76 65 72 73 69 6f 6e   compare version
0b00: 73 2c 20 72 6f 6c 6c 20 62 61 63 6b 20 74 6f 20  s, roll back to 
0b10: 6f 6c 64 20 76 65 72 73 69 6f 6e 73 2c 20 65 74  old versions, et
0b20: 63 2e 20 54 68 69 73 20 69 73 20 74 68 65 20 62  c. This is the b
0b30: 65 73 74 20 6f 70 74 69 6f 6e 20 66 6f 72 20 74  est option for t
0b40: 68 6f 73 65 20 77 68 6f 20 77 61 6e 74 20 74 6f  hose who want to
0b50: 20 70 61 72 74 69 63 69 70 61 74 65 20 69 6e 20   participate in 
0b60: 74 68 65 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20  the development 
0b70: 6f 66 20 4d 79 53 51 4c 2b 2b 2e 20 0d 0a 0d 0a  of MySQL++. ....
0b80: 2a 20 20 20 2a 2a 47 69 74 48 75 62 20 52 65 70  *   **GitHub Rep
0b90: 6f 73 69 74 6f 72 79 3a 2a 2a 20 54 68 69 73 20  ository:** This 
0ba0: 46 6f 73 73 69 6c 20 72 65 70 6f 73 69 74 6f 72  Fossil repositor
0bb0: 79 20 69 73 20 5b 6d 69 72 72 6f 72 65 64 20 6e  y is [mirrored n
0bc0: 69 67 68 74 6c 79 2c 20 68 65 72 65 5d 28 68 74  ightly, here](ht
0bd0: 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d  tps://github.com
0be0: 2f 74 61 6e 67 65 6e 74 73 6f 66 74 2f 6d 79 73  /tangentsoft/mys
0bf0: 71 6c 70 70 29 2e 20 57 65 20 5b 64 6f 20 6e 6f  qlpp). We [do no
0c00: 74 20 61 63 63 65 70 74 20 50 52 73 5d 28 2f 66  t accept PRs](/f
0c10: 69 6c 65 2f 48 41 43 4b 45 52 53 2e 6d 64 23 70  ile/HACKERS.md#p
0c20: 61 74 63 68 65 73 29 20 76 69 61 20 74 68 61 74  atches) via that
0c30: 20 63 68 61 6e 6e 65 6c 2e 0d 0a 0d 0a 0d 0a 23   channel.......#
0c40: 23 23 20 3c 61 20 6e 61 6d 65 3d 22 62 69 6e 61  ## <a name="bina
0c50: 72 79 22 3e 3c 2f 61 3e 42 69 6e 61 72 79 20 50  ry"></a>Binary P
0c60: 61 63 6b 61 67 65 73 0d 0a 0d 0a 3c 69 6d 67 20  ackages....<img 
0c70: 73 72 63 3d 22 68 74 74 70 73 3a 2f 2f 74 61 6e  src="https://tan
0c80: 67 65 6e 74 73 6f 66 74 2e 63 6f 6d 2f 6d 79 73  gentsoft.com/mys
0c90: 71 6c 70 70 2f 62 69 74 6d 61 70 73 2f 70 6b 67  qlpp/bitmaps/pkg
0ca0: 73 74 61 74 2e 73 76 67 22 20 61 6c 74 3d 22 4d  stat.svg" alt="M
0cb0: 79 53 51 4c 2b 2b 20 70 61 63 6b 61 67 69 6e 67  ySQL++ packaging
0cc0: 20 73 74 61 74 75 73 22 20 73 74 79 6c 65 3d 22   status" style="
0cd0: 66 6c 6f 61 74 3a 72 69 67 68 74 3b 20 6d 61 72  float:right; mar
0ce0: 67 69 6e 2d 6c 65 66 74 3a 32 30 70 78 22 20 2f  gin-left:20px" /
0cf0: 3e 0d 0a 0d 0a 4d 79 53 51 4c 2b 2b 20 68 61 73  >....MySQL++ has
0d00: 20 62 65 65 6e 20 70 69 63 6b 65 64 20 75 70 20   been picked up 
0d10: 62 79 20 6d 61 6e 79 20 70 61 63 6b 61 67 65 20  by many package 
0d20: 64 69 73 74 72 6f 73 2e 20 49 6e 20 61 64 64 69  distros. In addi
0d30: 74 69 6f 6e 20 74 6f 20 74 68 6f 73 65 20 6c 69  tion to those li
0d40: 73 74 65 64 20 69 6e 20 74 68 65 20 74 61 62 6c  sted in the tabl
0d50: 65 20 61 74 20 72 69 67 68 74 2c 20 69 74 27 73  e at right, it's
0d60: 20 61 6c 73 6f 20 5b 69 6e 20 46 72 65 65 42 53   also [in FreeBS
0d70: 44 5d 28 68 74 74 70 3a 2f 2f 77 77 77 2e 66 72  D](http://www.fr
0d80: 65 73 68 70 6f 72 74 73 2e 6f 72 67 2f 64 61 74  eshports.org/dat
0d90: 61 62 61 73 65 73 2f 6d 79 73 71 6c 2b 2b 33 2f  abases/mysql++3/
0da0: 29 2e 20 53 69 6e 63 65 20 74 68 65 73 65 20 70  ). Since these p
0db0: 61 63 6b 61 67 65 73 20 61 72 65 20 70 72 6f 70  ackages are prop
0dc0: 65 72 6c 79 20 69 6e 74 65 67 72 61 74 65 64 20  erly integrated 
0dd0: 69 6e 74 6f 20 74 68 65 69 72 20 68 6f 73 74 20  into their host 
0de0: 64 69 73 74 72 69 62 75 74 69 6f 6e 73 2c 20 77  distributions, w
0df0: 65 20 64 6f 20 6e 6f 74 20 6f 66 66 65 72 20 63  e do not offer c
0e00: 6f 6d 70 65 74 69 6e 67 20 62 69 6e 61 72 79 20  ompeting binary 
0e10: 70 61 63 6b 61 67 65 73 20 68 65 72 65 2e 0d 0a  packages here...
0e20: 0d 0a 49 66 20 79 6f 75 20 77 61 6e 74 20 73 6f  ..If you want so
0e30: 6d 65 74 68 69 6e 67 20 64 69 66 66 65 72 65 6e  mething differen
0e40: 74 20 69 6e 20 79 6f 75 72 20 62 69 6e 61 72 79  t in your binary
0e50: 20 70 61 63 6b 61 67 65 20 74 68 61 6e 20 79 6f   package than yo
0e60: 75 20 67 65 74 20 69 6e 20 74 68 65 20 73 74 61  u get in the sta
0e70: 6e 64 61 72 64 20 70 61 63 6b 61 67 65 20 64 69  ndard package di
0e80: 73 74 72 6f 20 66 6f 72 20 79 6f 75 72 20 4f 53  stro for your OS
0e90: 2c 20 79 6f 75 20 73 68 6f 75 6c 64 20 62 75 69  , you should bui
0ea0: 6c 64 20 69 74 20 66 72 6f 6d 20 5b 73 6f 75 72  ld it from [sour
0eb0: 63 65 5d 28 23 73 6f 75 72 63 65 29 20 6f 6e 20  ce](#source) on 
0ec0: 74 68 65 20 74 61 72 67 65 74 20 4f 53 2c 20 6f  the target OS, o
0ed0: 72 20 65 6c 73 65 20 79 6f 75 20 61 72 65 20 6c  r else you are l
0ee0: 69 6b 65 6c 79 20 74 6f 20 68 61 76 65 20 5b 70  ikely to have [p
0ef0: 72 6f 62 6c 65 6d 73 5d 28 2f 77 69 6b 69 3f 6e  roblems](/wiki?n
0f00: 61 6d 65 3d 46 41 51 23 73 65 67 66 61 75 6c 74  ame=FAQ#segfault
0f10: 73 29 2e 0d 0a 0d 0a 0d 0a 23 23 20 3c 61 20 6e  s).......## <a n
0f20: 61 6d 65 3d 22 6f 6c 64 76 65 72 22 3e 3c 2f 61  ame="oldver"></a
0f30: 3e 4f 6c 64 20 56 65 72 73 69 6f 6e 73 0d 0a 0d  >Old Versions...
0f40: 0a 49 66 20 79 6f 75 20 6e 65 65 64 20 61 20 70  .If you need a p
0f50: 61 72 74 69 63 75 6c 61 72 20 6f 6c 64 65 72 20  articular older 
0f60: 76 65 72 73 69 6f 6e 20 6f 66 20 4d 79 53 51 4c  version of MySQL
0f70: 2b 2b 2c 20 79 6f 75 20 63 61 6e 20 65 69 74 68  ++, you can eith
0f80: 65 72 20 67 72 61 62 20 74 68 65 20 72 61 77 20  er grab the raw 
0f90: 73 6f 75 72 63 65 20 63 6f 64 65 20 66 6f 72 20  source code for 
0fa0: 69 74 20 66 72 6f 6d 20 74 68 65 20 5b 46 6f 73  it from the [Fos
0fb0: 73 69 6c 20 74 61 67 20 6c 69 73 74 20 70 61 67  sil tag list pag
0fc0: 65 5d 28 2f 74 61 67 6c 69 73 74 29 20 6f 72 20  e](/taglist) or 
0fd0: 79 6f 75 20 63 61 6e 20 5b 62 72 6f 77 73 65 5d  you can [browse]
0fe0: 28 2f 72 65 6c 65 61 73 65 73 29 20 74 68 65 20  (/releases) the 
0ff0: 6f 6c 64 20 76 65 72 73 69 6f 6e 20 61 72 63 68  old version arch
1000: 69 76 65 2e 0d 0a 0d 0a 54 68 6f 73 65 20 73 74  ive.....Those st
1010: 69 6c 6c 20 6e 65 65 64 69 6e 67 20 4d 79 53 51  ill needing MySQ
1020: 4c 2b 2b 20 32 2e 78 20 6d 69 67 68 74 20 62 65  L++ 2.x might be
1030: 20 69 6e 74 65 72 65 73 74 65 64 20 69 6e 20 74   interested in t
1040: 68 65 20 5b 60 76 32 2e 33 2e 32 2d 6d 6f 64 65  he [`v2.3.2-mode
1050: 72 6e 60 5d 28 68 74 74 70 73 3a 2f 2f 74 61 6e  rn`](https://tan
1060: 67 65 6e 74 73 6f 66 74 2e 63 6f 6d 2f 6d 79 73  gentsoft.com/mys
1070: 71 6c 70 70 2f 74 69 6d 65 6c 69 6e 65 3f 72 3d  qlpp/timeline?r=
1080: 76 32 2e 33 2e 32 2d 6d 6f 64 65 72 6e 29 20 62  v2.3.2-modern) b
1090: 72 61 6e 63 68 2c 20 77 68 69 63 68 20 6d 61 6b  ranch, which mak
10a0: 65 73 20 6d 69 6e 69 6d 61 6c 20 63 68 61 6e 67  es minimal chang
10b0: 65 73 20 74 6f 20 76 65 72 73 69 6f 6e 20 32 2e  es to version 2.
10c0: 33 2e 32 20 e2 80 94 20 74 68 65 20 6c 61 73 74  3.2 — the last
10d0: 20 72 65 6c 65 61 73 65 20 69 6e 20 74 68 65 20   release in the 
10e0: 32 2e 78 20 6c 69 6e 65 20 e2 80 94 20 74 6f 20  2.x line — to 
10f0: 61 6c 6c 6f 77 20 69 74 20 74 6f 20 62 75 69 6c  allow it to buil
1100: 64 20 6f 6e 20 6d 6f 64 65 72 6e 20 73 79 73 74  d on modern syst
1110: 65 6d 73 2e 20 45 73 73 65 6e 74 69 61 6c 6c 79  ems. Essentially
1120: 2c 20 69 74 20 63 6f 6e 74 61 69 6e 73 20 62 75  , it contains bu
1130: 69 6c 64 20 66 69 78 65 73 20 61 6e 61 6c 6f 67  ild fixes analog
1140: 6f 75 73 20 74 6f 20 74 68 6f 73 65 20 77 65 27  ous to those we'
1150: 76 65 20 64 6f 6e 65 20 69 6e 20 74 68 65 20 33  ve done in the 3
1160: 2e 78 20 6c 69 6e 65 20 77 69 74 68 6f 75 74 20  .x line without 
1170: 62 61 63 6b 70 6f 72 74 69 6e 67 20 61 6e 79 20  backporting any 
1180: 61 63 74 75 61 6c 20 66 65 61 74 75 72 65 73 20  actual features 
1190: 6f 72 20 62 65 68 61 76 69 6f 72 20 63 68 61 6e  or behavior chan
11a0: 67 65 73 20 66 72 6f 6d 20 33 2e 78 2e 20 54 68  ges from 3.x. Th
11b0: 69 73 20 62 72 61 6e 63 68 20 69 73 20 75 6e 6c  is branch is unl
11c0: 69 6b 65 6c 79 20 74 6f 20 65 76 65 72 20 62 65  ikely to ever be
11d0: 20 72 65 6c 65 61 73 65 64 2c 20 62 75 74 20 69   released, but i
11e0: 74 20 69 73 20 69 6e 74 65 6e 64 65 64 20 74 6f  t is intended to
11f0: 20 62 65 20 22 73 74 61 62 6c 65 22 20 61 74 20   be "stable" at 
1200: 61 6c 6c 20 74 69 6d 65 73 2e 0d 0a 0d 0a 0d 0a  all times.......
1210: 23 23 20 3c 61 20 6e 61 6d 65 3d 22 64 6f 63 73  ## <a name="docs
1220: 22 3e 3c 2f 61 3e 44 6f 63 75 6d 65 6e 74 61 74  "></a>Documentat
1230: 69 6f 6e 0d 0a 0d 0a 54 68 65 20 75 73 65 72 20  ion....The user 
1240: 61 6e 64 20 72 65 66 65 72 65 6e 63 65 20 6d 61  and reference ma
1250: 6e 75 61 6c 73 20 61 72 65 20 73 68 69 70 70 65  nuals are shippe
1260: 64 20 69 6e 20 74 68 65 20 73 6f 75 72 63 65 20  d in the source 
1270: 63 6f 64 65 20 74 61 72 62 61 6c 6c 20 61 62 6f  code tarball abo
1280: 76 65 2e 20 54 68 65 79 20 61 72 65 20 61 6c 73  ve. They are als
1290: 6f 20 5b 61 76 61 69 6c 61 62 6c 65 20 6f 6e 6c  o [available onl
12a0: 69 6e 65 5d 28 2f 64 6f 63 2f 29 2e 0d 0a 0d 0a  ine](/doc/).....
12b0: 0d 0a 23 23 20 3c 61 20 6e 61 6d 65 3d 22 66 61  ..## <a name="fa
12c0: 71 22 3e 3c 2f 61 3e 46 72 65 71 75 65 6e 74 6c  q"></a>Frequentl
12d0: 79 2d 41 73 6b 65 64 20 51 75 65 73 74 69 6f 6e  y-Asked Question
12e0: 73 0d 0a 0d 0a 54 68 65 20 5b 46 41 51 20 6c 69  s....The [FAQ li
12f0: 73 74 5d 28 2f 77 69 6b 69 3f 6e 61 6d 65 3d 46  st](/wiki?name=F
1300: 41 51 29 20 61 6e 73 77 65 72 73 20 6d 61 6e 79  AQ) answers many
1310: 20 63 6f 6d 6d 6f 6e 6c 79 2d 61 73 6b 65 64 20   commonly-asked 
1320: 71 75 65 73 74 69 6f 6e 73 20 61 62 6f 75 74 20  questions about 
1330: 4d 79 53 51 4c 2b 2b 2e 0d 0a 0d 0a 0d 0a 23 23  MySQL++.......##
1340: 20 3c 61 20 6e 61 6d 65 3d 22 63 6f 6e 74 72 69   <a name="contri
1350: 62 22 3e 3c 2f 61 3e 43 6f 6e 74 72 69 62 75 74  b"></a>Contribut
1360: 69 6e 67 20 74 6f 20 74 68 65 20 45 66 66 6f 72  ing to the Effor
1370: 74 0d 0a 0d 0a 54 68 65 20 65 61 73 69 65 73 74  t....The easiest
1380: 20 74 68 69 6e 67 20 74 6f 20 64 6f 20 69 66 20   thing to do if 
1390: 79 6f 75 20 77 61 6e 74 20 74 6f 20 68 65 6c 70  you want to help
13a0: 20 6f 75 74 20 77 69 74 68 20 74 68 65 20 4d 79   out with the My
13b0: 53 51 4c 2b 2b 20 64 65 76 65 6c 6f 70 6d 65 6e  SQL++ developmen
13c0: 74 20 65 66 66 6f 72 74 20 69 73 20 74 6f 20 70  t effort is to p
13d0: 61 72 74 69 63 69 70 61 74 65 20 6f 6e 20 74 68  articipate on th
13e0: 65 20 5b 6d 61 69 6c 69 6e 67 20 6c 69 73 74 5d  e [mailing list]
13f0: 28 68 74 74 70 3a 2f 2f 6c 69 73 74 73 2e 6d 79  (http://lists.my
1400: 73 71 6c 2e 63 6f 6d 2f 70 6c 75 73 70 6c 75 73  sql.com/plusplus
1410: 2f 29 20 61 6e 64 2f 6f 72 20 5b 77 65 62 20 66  /) and/or [web f
1420: 6f 72 75 6d 5d 28 2f 66 6f 72 75 6d 29 2e 20 54  orum](/forum). T
1430: 68 65 20 6c 69 62 72 61 72 79 27 73 20 70 72 69  he library's pri
1440: 6d 61 72 79 20 64 65 76 65 6c 6f 70 65 72 20 64  mary developer d
1450: 6f 65 73 20 6e 6f 74 20 6d 69 6e 64 20 61 74 20  oes not mind at 
1460: 61 6c 6c 20 69 66 20 73 6f 6d 65 6f 6e 65 20 65  all if someone e
1470: 6c 73 65 20 61 6e 73 77 65 72 73 20 61 20 71 75  lse answers a qu
1480: 65 73 74 69 6f 6e 20 62 65 66 6f 72 65 20 68 65  estion before he
1490: 20 63 61 6e 20 67 65 74 20 74 6f 20 69 74 2e 20   can get to it. 
14a0: 3c 62 3e 3c 74 74 3e 3a 29 3c 2f 74 74 3e 3c 2f  <b><tt>:)</tt></
14b0: 62 3e 20 49 74 e2 80 99 73 20 61 6c 73 6f 20 66  b> It’s also f
14c0: 72 65 71 75 65 6e 74 6c 79 20 68 65 6c 70 66 75  requently helpfu
14d0: 6c 20 74 6f 20 68 61 76 65 20 64 69 66 66 65 72  l to have differ
14e0: 65 6e 74 20 76 6f 69 63 65 73 20 63 6f 6e 74 72  ent voices contr
14f0: 69 62 75 74 69 6e 67 20 74 6f 20 64 69 73 63 75  ibuting to discu
1500: 73 73 69 6f 6e 73 20 61 62 6f 75 74 20 74 68 65  ssions about the
1510: 20 6c 69 62 72 61 72 79 e2 80 99 73 20 66 75 74   library’s fut
1520: 75 72 65 2e 0d 0a 0d 0a 49 66 20 79 6f 75 20 77  ure.....If you w
1530: 61 6e 74 20 74 6f 20 70 61 72 74 69 63 69 70 61  ant to participa
1540: 74 65 20 69 6e 20 74 68 65 20 63 6f 64 69 6e 67  te in the coding
1550: 20 65 66 66 6f 72 74 2c 20 74 68 65 20 4d 79 53   effort, the MyS
1560: 51 4c 2b 2b 20 64 65 76 65 6c 6f 70 6d 65 6e 74  QL++ development
1570: 20 70 72 6f 6a 65 63 74 20 69 73 20 68 6f 73 74   project is host
1580: 65 64 20 62 79 20 5b 46 6f 73 73 69 6c 5d 28 68  ed by [Fossil](h
1590: 74 74 70 3a 2f 2f 66 6f 73 73 69 6c 2d 73 63 6d  ttp://fossil-scm
15a0: 2e 6f 72 67 2f 29 2c 20 61 20 64 69 73 74 72 69  .org/), a distri
15b0: 62 75 74 65 64 20 76 65 72 73 69 6f 6e 20 63 6f  buted version co
15c0: 6e 74 72 6f 6c 20 73 69 6d 69 6c 61 72 20 74 6f  ntrol similar to
15d0: 20 47 69 74 20 62 75 74 20 6d 75 63 68 20 65 61   Git but much ea
15e0: 73 69 65 72 20 74 6f 20 75 73 65 2e 20 53 65 65  sier to use. See
15f0: 20 5b 74 68 65 20 48 61 63 6b 65 72 73 20 66 69   [the Hackers fi
1600: 6c 65 5d 28 2f 66 69 6c 65 2f 48 41 43 4b 45 52  le](/file/HACKER
1610: 53 2e 6d 64 29 20 66 6f 72 20 69 6e 73 74 72 75  S.md) for instru
1620: 63 74 69 6f 6e 73 20 6f 6e 20 77 6f 72 6b 69 6e  ctions on workin
1630: 67 20 77 69 74 68 20 46 6f 73 73 69 6c 20 61 6e  g with Fossil an
1640: 64 20 74 68 65 20 4d 79 53 51 4c 2b 2b 20 73 6f  d the MySQL++ so
1650: 75 72 63 65 20 63 6f 64 65 2e 0d 0a 0d 0a 46 6f  urce code.....Fo
1660: 72 20 61 20 67 72 65 61 74 20 73 6f 75 72 63 65  r a great source
1670: 20 6f 66 20 70 72 6f 6a 65 63 74 73 20 74 6f 20   of projects to 
1680: 74 61 63 6b 6c 65 2c 20 73 65 65 20 5b 74 68 65  tackle, see [the
1690: 20 57 69 73 68 6c 69 73 74 5d 28 2f 66 65 61 74   Wishlist](/feat
16a0: 75 72 65 73 29 2e 0d 0a 0d 0a 49 66 20 79 6f 75  ures).....If you
16b0: 20 6a 75 73 74 20 77 61 6e 74 20 74 6f 20 6b 65   just want to ke
16c0: 65 70 20 75 70 20 6f 6e 20 74 68 65 20 69 6e 2d  ep up on the in-
16d0: 70 72 6f 67 72 65 73 73 20 64 65 76 65 6c 6f 70  progress develop
16e0: 6d 65 6e 74 73 2c 20 73 65 65 20 5b 74 68 65 20  ments, see [the 
16f0: 70 72 6f 6a 65 63 74 20 74 69 6d 65 6c 69 6e 65  project timeline
1700: 5d 28 2f 74 69 6d 65 6c 69 6e 65 29 2c 20 77 68  ](/timeline), wh
1710: 69 63 68 20 69 73 20 61 6c 73 6f 20 61 76 61 69  ich is also avai
1720: 6c 61 62 6c 65 20 69 6e 20 5b 52 53 53 20 66 6f  lable in [RSS fo
1730: 72 6d 5d 28 2f 74 69 6d 65 6c 69 6e 65 2e 72 73  rm](/timeline.rs
1740: 73 29 20 66 6f 72 20 74 68 6f 73 65 20 77 68 6f  s) for those who
1750: 20 77 61 6e 74 20 4d 79 53 51 4c 2b 2b 20 63 68   want MySQL++ ch
1760: 61 6e 67 65 73 20 74 6f 20 61 70 70 65 61 72 20  anges to appear 
1770: 69 6e 20 74 68 65 69 72 20 66 65 65 64 20 72 65  in their feed re
1780: 61 64 65 72 2e 20 59 6f 75 20 63 61 6e 20 61 6c  ader. You can al
1790: 73 6f 20 5b 73 75 62 73 63 72 69 62 65 20 74 6f  so [subscribe to
17a0: 20 65 6d 61 69 6c 20 6e 6f 74 69 66 69 63 61 74   email notificat
17b0: 69 6f 6e 73 5d 28 2f 73 75 62 73 63 72 69 62 65  ions](/subscribe
17c0: 29 20 66 6f 72 20 76 61 72 69 6f 75 73 20 65 76  ) for various ev
17d0: 65 6e 74 73 3a 20 63 68 65 63 6b 2d 69 6e 73 2c  ents: check-ins,
17e0: 20 77 69 6b 69 20 65 64 69 74 73 2c 20 66 6f 72   wiki edits, for
17f0: 75 6d 20 70 6f 73 74 69 6e 67 73 2c 20 65 74 63  um postings, etc
1800: 2e 0a 5a 20 66 37 36 35 35 37 31 35 34 63 39 34  ..Z f76557154c94
1810: 34 30 65 32 37 30 39 63 61 32 30 36 64 38 62 64  40e2709ca206d8bd
1820: 39 37 37 64 0a                                   977d.