完美国际电信一霹雳区交流版 收藏本版 今日: 0 主题: 1794

2975 17

锡灵,你英文好,麻烦进来帮个忙--(或者谁的英文自己觉得不错的话也可以)

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 U: U& U" h5 k# y1 J+ K; F3 F' x/ P2 Y7 @" r" o+ N
  1. / V4 I/ C; R# W. e6 B- W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : I% L6 `9 ]5 K' T% o$ g$ i: D% A: i
  3. 9 S" M: `$ x' f6 l/ ?8 u7 t
  4. ### What we need ###
    + v6 N+ T( p  F
  5. Naturally, we will need a MySQL server to store the data for us, this document * |; _7 e* F# M  Z: }
  6. will not explain how this can be done - there are documents out there for the
    % x+ ]3 R6 i- |+ Y- a
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 C( N/ `! ?$ S4 j2 \  A
  8. and a user account (username + password) that has the permissions to do stuff
    . W( I! J# Y7 {+ r
  9. with the database. Additionally, you will need a vendor library installed on the
    1 p7 T3 H. u. N4 V- L
  10. local machine, this came with my MySQL install.
    ) _$ [% I* U  G  b
  11. These instructions will not tell you how you might transfer your data from the7 i) R7 R& `) \4 q) v- r2 d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; S" J% D% |3 v- o. [
  13. database.
    ; n% F; q1 Y$ ^  G5 P
  14. Some users have reported ways to import a SQLite database into MySQL, but at% b  q) \! b4 {( ]
  15. the time of writing, there are still too many issues - check the current status: H# w3 s. S; s) P+ _7 M6 q
  16. in the TeamSpeak forums if you are interested.
    : k# B; h8 }! Y# r  |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) {9 t- {1 j7 V5 k
  18. Borland was used. This driver can only interface with the client library that
    0 i# w( j0 X7 b1 H5 n8 a$ U. W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 O) F, M' @. ^% c+ [
  20. client library - basically all you have to do is to use a 3.x client library as
    9 K0 U7 b1 z4 b0 G
  21. "VendorLib" and a 4.x database to connect to.
    $ B5 h# [9 T- ^; s3 h2 j; I
  22. If you need more info about dbExpress, you can contact Borland.! `2 P; y# f( `- a' P1 h. ?# J
  23. 4 f/ r  W& Q% u, L: X, A+ D' S
  24. ### Doing the work ###
    7 G& |( o7 R9 g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 A1 X/ r' y, o$ v
  26. the perquisites right, just open your server.ini file, and add this section at
    * P; y& Z* a/ Q0 |4 n
  27. the end:
    3 e; Y2 x/ U9 s  M4 A4 Z+ R! `
  28. ---cut here---4 A  g9 N0 s; \: P
  29. [DBEXPRESS]5 H9 V+ w3 r$ M( v
  30. sqldir=mysql_sql9 S6 C$ \1 Z( l! S: P
  31. Drivername=mysql8 _! m. f. k7 n* A2 W
  32. Database=Your_Database_Name_Here/ V+ a# u; g" R. ]" |' G
  33. Hostname=The_PC_the_MySQL-Server_is_on/ A0 r" P# n: u, ?' ?4 i
  34. User_name=User_name_on_the_MySQL-Server# K# N" r0 V/ m* }+ b# x
  35. Password=Password_to_go_with_above_user_name0 f4 N- G6 j/ Y6 ~1 B
  36. GetDriverFunc=getSQLDriverMYSQL; J6 N' G, V% U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ M9 G% k. M8 [
  38. LibraryName=path_to_libsqlmy_libary
    ! y4 B9 F3 {  |4 m- s4 f5 l0 _
  39. Active=1
      h5 {) C2 ^1 w* K' h
  40. ---cut here---  \& N0 J7 O( m2 l8 s
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ B  A: `  H: X0 d8 k
  42. ---example---  G1 n4 V7 }% I2 y- ?/ g
  43. [DBEXPRESS]2 h4 `9 @* v( V: T5 B
  44. sqldir=mysql_sql+ B8 h6 a: P/ G1 `* w+ L* m
  45. Drivername=mysql9 i# s  @; _: d" {- i0 @4 b# x
  46. Database=test
    8 Z, o! l  F: R, d: V
  47. Hostname=localhost
    ) u& U, G0 M5 p1 @* G& O+ F. n
  48. User_name=testuser: H/ l2 q) w8 p; c1 f
  49. Password=my_password4 ?( W  b8 @/ Y' y+ v
  50. GetDriverFunc=getSQLDriverMYSQL
    6 S) g/ N5 z* X* @/ Q' l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% F; d8 c& N5 c0 i+ `0 V" n2 l$ u, K
  52. LibraryName=./libsqlmy.so' i; _# C, |  ]/ {
  53. Active=16 L. b' e# b! U# _4 t. z
  54. ---example---6 U) [. u6 u  Y+ I! B  I
  55. ! g4 Z9 \+ l0 p1 G
  56. On a windows box, also running the MySQL server locally, it would be:  H  ^+ i0 ]8 h) \* G$ B
  57. ---example---( @8 `$ T4 F+ S& g9 p. d7 ^
  58. [DBEXPRESS]# m  c+ A: a1 G$ V
  59. sqldir=mysql_sql7 J1 s# u. h$ H& l+ {! r8 p( R% c
  60. Drivername=mysql# \1 }) ?  U/ l
  61. Database=test
    * a& q' Q0 n) p! J
  62. Hostname=127.0.0.1
    4 s4 m" M! R& k1 }
  63. User_name=testuser& z- u& z: n) t1 f
  64. Password=my_password+ S0 Y8 a) Q* f9 d
  65. GetDriverFunc=getSQLDriverMYSQL  Z4 b* |. m& U4 u, _: w
  66. VendorLib=libmysql.dll
    . R/ O% D; u4 D/ p5 p+ c
  67. LibraryName=dbexpmysql.dll
    . d6 v) O+ c7 H0 ?
  68. Active=1
    ' A5 U, j* t6 j2 M5 @
  69. ---example----
    0 i; Y: y! J" d/ G. }3 x3 G
  70. - written 02.03.04 by pwk.linuxfan
    8 F! @. s$ C1 k8 t( o$ E9 p" {

  71. 6 W6 ^" v1 j; i) l/ C" x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: @1 C, l0 j; T3 i
  1. # ~+ A/ W4 u& V  K5 C& K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 @% D( z. l2 i' W" Y/ ~- {
  3.   r, s% z) w# Y6 G7 b
  4. # # #我们所需要# # #
    7 ^# e4 O/ _% G. t2 N* A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , Q# Y/ Z& {4 S2 L, s
  6. 不会解释如何做到这一点-也有文件存在,为
    / z7 n9 o3 C$ U+ g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! Q4 M; ~# H$ j! R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" b- ~) \& z# I: O! c, q/ |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ ^" M9 X8 [6 p+ O+ |
  10. 本地机器,这是我的MySQL安装。
    2 C( u* r4 M9 ]# o: k
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- y% w9 c8 |2 {* L8 x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 U5 Y$ `( M" {0 [4 y- g9 I
  13. 数据库。
    ' H* i6 _) g- s7 \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * s* d* {$ Q2 q+ v$ q) b+ W
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 F; [' F4 p& b# a
  16. 在teamspeak论坛,如果你有兴趣。 ( U) V1 _3 n! M, p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 a9 O' H3 k, ?: y) s2 N
  18. Borland公司使用。这个司机只能界面与客户端库
    ! B, G, D8 ]( e/ k9 d) t, w% r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* T1 s  G1 m# f" t9 g% X
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 h, h) @$ E3 r" b' a2 W
  21. " vendorlib " ,并解数据库连接。
    ! `! e3 H5 K1 ]- W' O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   e# O# t; L" z- Z- h5 s( ~
  23. ; j: ]9 e4 ?0 N( z+ f5 k
  24. # # #做好工作# # # ' Q; A9 l! k2 _3 O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & t) X& r: W, h) P8 s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & U- U! W# N8 o9 S9 S3 C+ L
  27. 结束:
    # s# ^# {0 }! s2 B
  28. ---削减这里--- + k. D+ Y7 b: B2 S
  29. [ dbexpress ] " Y* ]9 q2 \9 b* ?6 l
  30. sqldir = mysql_sql
    7 n# A2 i7 ^" Q( ^' ]6 o( ~
  31. drivername = MySQL中
    ) C& T* Y7 z% U' t) I
  32. 数据库= your_database_name_here
    / X2 a' z: h% l; }+ L
  33. 主机= the_pc_the_mysql - server_is_on
    ( s; t; j6 I# Y! C- Q, j* T
  34. user_name = user_name_on_the_mysql服务器* g) D5 B  A. H. b
  35. 密码= password_to_go_with_above_user_name , O; K8 u/ d9 x
  36. getdriverfunc = getsqldrivermysql 4 V6 |- [2 h9 _9 u6 h8 L& W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - L/ M" e0 d/ L1 i4 b/ t
  38. libraryname = path_to_libsqlmy_libary
    6 x5 v. k# Q9 ~3 F
  39. 积极= 1
    & f: l$ G" z* S. g
  40. ---削减这里---
    $ V9 ]3 d% d4 l" m% P/ s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' u5 r; k/ ~3 s% b2 @( W4 \% y
  42. ---例如---
    6 O# ]  Q" U! U2 G. Y! l# d
  43. [ dbexpress ]
    1 A* e$ E4 _2 F7 i. C* v
  44. sqldir = mysql_sql 7 x0 M! A3 q+ s
  45. drivername = MySQL中
    7 Z3 A2 A& @& |. j& |8 H
  46. 数据库=测试
    ' q0 x. m# S: X6 J, H- r! m
  47. 主机=本地主机
      o: @" E+ `' f
  48. user_name = testuser
    : ]& ], y. g- o7 ^. D
  49. 密码= my_password 0 g2 q5 n9 r  _3 O: ^9 t
  50. getdriverfunc = getsqldrivermysql
    2 |* t' O. K) B& @' W# M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : J% K8 ?) V2 Z8 y( G' R  e( J
  52. libraryname =. / libsqlmy.so
    . S/ y: x# _, X7 v3 `; G
  53. 积极= 1
    6 A- K7 p8 j$ F/ [3 S6 N3 F2 U
  54. ---例如---
    # h* s- N. U; r; f) ]
  55. * b, V) [) m8 c# Q9 _
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 G/ v- q% u3 v0 }2 E7 v  m0 L" N8 L' R
  57. ---例如---
    $ T1 |0 v' [9 P7 Q7 o1 q( q
  58. [ dbexpress ]
    ! V( Y- e% m6 |* d  Z) ~
  59. sqldir = mysql_sql
    * l& m+ w2 Q7 G( N( L% Q
  60. drivername = MySQL中
    : g) k0 Q3 T0 ^$ l  R+ q5 D' g4 k  q' P
  61. 数据库=测试
    . D. D7 y6 v4 _  U0 Z
  62. 主机= 127.0.0.1 " V( L- B) _3 \8 [
  63. user_name = testuser
    & `4 P$ H; e! G4 g4 g
  64. 密码= my_password
    5 o( Z5 L% b' y+ G: A
  65. getdriverfunc = getsqldrivermysql 2 Q- ~' F9 ?  F# |1 C* V) a
  66. vendorlib = libmysql.dll在; [$ R7 h) c; Y9 g* U; L, R
  67. libraryname = dbexpmysql.dll ' D! N) c- x5 b/ b7 Z0 D& }
  68. 积极= 1
    $ x/ b+ H3 J! q
  69. ---例如----
    3 y6 p6 B. r  c! F* l
  70. -写在0 2.03.04由p wk.linuxfan
    ! Z( B; X4 u4 z4 l
复制代码
发表于 2008-1-18 15:57:50 | 显示全部楼层
zhu48t zhu48t zhu48t 火星语言
发表于 2008-1-18 16:02:23 | 显示全部楼层
我现在正在我们自己的服务器上调试TS与论坛结合,这篇文章里的大概操作方法我是明白了,但是我怕翻译过来可能有点出入,所以还是要专业的英文水平高的人看看才行:xhan
发表于 2008-1-18 18:45:35 | 显示全部楼层
那你只有找哪个马来人了。。。
发表于 2008-1-20 18:35:58 | 显示全部楼层
zhu45t 俄有自知之明
发表于 2008-1-21 11:37:51 | 显示全部楼层
比 考4级还难懂!!
发表于 2008-1-21 13:54:07 | 显示全部楼层
怎么不问我呢 我晕
发表于 2008-1-21 14:15:44 | 显示全部楼层
sorry for the late, i think the best way is i go to TS and translate for you. coz now i cannot type chinese words
; u: c2 P3 i9 `
1 f& ]* O. G9 O) F! Vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

傲天阁游戏公会
联系我们
咨询电话 : 020-88888888
事务 QQ : 85075421
电子邮箱 : admin@admin.com

小黑屋|手机版|Archiver|傲天阁游戏公会 ( 粤ICP备14058347号 )|免责声明

GMT+8, 2026-8-3 04:00 , Processed in 0.080222 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表