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

2489 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) G: {* ^" Q5 w( J5 u
* E* z' \' T8 p

  1. ( {- V8 r2 i! F: v' f) Z/ ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ c9 g/ [" r, c3 f4 q3 Q
  3. " p' g0 l; D: R7 k
  4. ### What we need ###
    1 z5 m/ y; u. t; c( R6 w6 w
  5. Naturally, we will need a MySQL server to store the data for us, this document % b1 Q! [, j" }4 K. U
  6. will not explain how this can be done - there are documents out there for the
    : [6 Q- O' ], h: C* B
  7. interested. The requirements include a (empty) database for TeamSpeak to use. q9 r& K4 F5 I% W/ o4 m# N
  8. and a user account (username + password) that has the permissions to do stuff! F+ P9 S* j; J& f7 ?! C
  9. with the database. Additionally, you will need a vendor library installed on the
    6 Z9 `2 Z) n% X6 }4 T8 A$ j
  10. local machine, this came with my MySQL install.6 \3 j' `7 w: \4 `, ^
  11. These instructions will not tell you how you might transfer your data from the8 h7 r1 ~2 b# X/ e- v+ C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : Z, I- S! w9 R1 r  e
  13. database.: O. V& m+ W& ]9 Y7 Q! D- }( X+ C5 m
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 g8 q& G2 Y# d% w& e# n2 R
  15. the time of writing, there are still too many issues - check the current status
    2 ?# O6 ~6 T+ W# [) O) |' X5 ~. G/ a
  16. in the TeamSpeak forums if you are interested.% _, k, g6 g" `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: Z! f5 c3 S2 s9 Y8 v
  18. Borland was used. This driver can only interface with the client library that 9 S6 S. L$ H4 g4 ]: \. a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( E# _3 Q5 Q  I7 \
  20. client library - basically all you have to do is to use a 3.x client library as   k/ d4 Z3 J9 A& U
  21. "VendorLib" and a 4.x database to connect to.8 K$ C! ?! a, X' y
  22. If you need more info about dbExpress, you can contact Borland.
    - z1 t3 T5 ~9 v# U! y4 k9 G
  23. 2 e5 c+ j5 @2 m( F- @7 y
  24. ### Doing the work ###
    9 ]; v- v! H3 x* `9 ]7 Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 H6 L/ g2 j+ j5 Z: ~  [  ^5 G- N
  26. the perquisites right, just open your server.ini file, and add this section at
    5 Z+ y( W" w4 a% `. n+ t, R
  27. the end:  s9 W$ s4 q/ Z% i' q5 H! v
  28. ---cut here---
    $ U1 n6 l3 Z: p2 K$ X1 k: }
  29. [DBEXPRESS]
    ; _2 F; R: y0 n; e; T
  30. sqldir=mysql_sql
    1 g) b5 ~/ t6 v2 S, e0 u! I
  31. Drivername=mysql' [, i* Y8 K2 [
  32. Database=Your_Database_Name_Here& F6 s  ]/ V  i5 \
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - h8 S, g  l; R: I6 U, O
  34. User_name=User_name_on_the_MySQL-Server( s- ^6 U2 P8 ~0 n
  35. Password=Password_to_go_with_above_user_name* L7 S- O+ g& t4 M6 A# A
  36. GetDriverFunc=getSQLDriverMYSQL
    0 ]. u+ ?) d1 a* U8 O+ {* H# p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 Z3 K3 P% P% u
  38. LibraryName=path_to_libsqlmy_libary
    0 R2 {6 i* s2 r" \
  39. Active=1
    : \4 H* z/ S" H+ K) z' T1 |" G
  40. ---cut here---
    % j' k( T% G6 ^/ |8 I3 u
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 r  t; }6 R3 k
  42. ---example---
    3 ]- L; \% x4 w; t- m. d- e  [3 ?9 ]8 c
  43. [DBEXPRESS]+ i2 W+ C  O( N  s
  44. sqldir=mysql_sql! _1 `, }" [/ c* X- R! I
  45. Drivername=mysql
    8 @" C  F7 I8 x" X' h
  46. Database=test
    9 t. G. z/ _: \* D
  47. Hostname=localhost6 q7 k, M; J/ K+ U, z; y
  48. User_name=testuser
    ! Y( t  ?! x. o4 y) P
  49. Password=my_password1 I0 t- _1 h" j% g
  50. GetDriverFunc=getSQLDriverMYSQL
    % k' `! ^) M" P+ l& m% f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 }2 P# C+ J  Y9 M- p7 g( W4 q; f; U
  52. LibraryName=./libsqlmy.so/ A1 [' \) ]4 M4 U. C
  53. Active=1* }$ \/ }* h( ~$ q" Y3 C$ h# q
  54. ---example---
    . W2 ^  A, y& C9 m# t5 {/ O$ R
  55. , |. N" M. _- k1 `
  56. On a windows box, also running the MySQL server locally, it would be:
    * m+ V! e2 N, T' W4 g
  57. ---example---* k2 z8 z7 o1 ?: W
  58. [DBEXPRESS]
    ) G' o) S. ^. i+ m& @! B5 v
  59. sqldir=mysql_sql9 t3 `: M, e; h" ^
  60. Drivername=mysql
    9 H# {+ u: n* E7 M! y
  61. Database=test  v4 r. ]) R: {  M
  62. Hostname=127.0.0.1$ B* ~# @2 B( ~3 V/ t
  63. User_name=testuser: o) W2 C1 ?! Z* V$ T3 s& H/ u
  64. Password=my_password; m* i, g/ x6 @
  65. GetDriverFunc=getSQLDriverMYSQL
    $ @2 B( S, e' v. \+ N! G
  66. VendorLib=libmysql.dll
    : v1 C. D5 y. j, z
  67. LibraryName=dbexpmysql.dll$ B. O1 W/ D/ w0 f' A2 l3 C
  68. Active=1
      U9 Q& a( r2 g0 O" j- x
  69. ---example----
    4 p' p/ z7 ^! G: z7 s# s# N/ B3 ]& T; \
  70. - written 02.03.04 by pwk.linuxfan
    5 R) {7 \" C! V5 |% Y" U- X

  71. 9 U5 c& z1 g. E' l/ L  m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; y1 _4 h7 U& s* h' Q

  1. " t5 m4 @! ~6 r6 [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 A$ k$ A/ O+ g  t3 M
  3.   |2 B) a0 r/ d% B
  4. # # #我们所需要# # #
    8 Y" a+ f6 ]$ G) }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 H* W, t$ y1 [; T2 e
  6. 不会解释如何做到这一点-也有文件存在,为% ^# _4 w# u6 p1 P) u! ~) Q9 p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - _* q" V8 b4 V: O. P7 @: o' D- Y' R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 P+ x" }9 Y1 q' B3 r3 K+ a7 c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 Z3 ]: n" }: M! k
  10. 本地机器,这是我的MySQL安装。 . T# p& V4 E( y0 b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( \% G7 k3 \5 h0 J: Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      j6 ?- ]# f1 m/ [- v) `! V
  13. 数据库。
    ' V9 O* T, B0 ~, G- c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # N) ]! C; s% g0 N* q
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 ]; t1 k2 g% i9 C: W# C2 G
  16. 在teamspeak论坛,如果你有兴趣。
    2 G: f, S1 V& a) A9 _9 B6 o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 n  Z- {+ M% F6 v3 ]9 s7 O
  18. Borland公司使用。这个司机只能界面与客户端库
    ) F, D5 \! z9 w" P& X! `. w; E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 S7 R  O" H" `8 [& v9 ~
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; H  J) Q% B# g
  21. " vendorlib " ,并解数据库连接。 9 k5 k  k9 P. z' }% E2 ~+ U3 q3 H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % N3 t$ i/ N0 k; E" a

  23. 6 J3 C" l2 y7 m: h/ n
  24. # # #做好工作# # #
    : B# R  D8 r$ n" J$ L/ e: s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & I4 _: U6 I8 P) [" c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 V8 s* V1 b6 D: w
  27. 结束:
    $ O: l0 j5 ^/ x3 _1 A0 m6 Y. o
  28. ---削减这里---
    , s0 a+ h! C# s) Y; m
  29. [ dbexpress ] 2 _) d1 `; J# i& p% @
  30. sqldir = mysql_sql
    4 g0 U. S, ?- d8 t
  31. drivername = MySQL中, O9 X1 A, q' N9 T7 @
  32. 数据库= your_database_name_here
    5 i6 L, Z: s* z! w
  33. 主机= the_pc_the_mysql - server_is_on
    ! ~( c; ^: }/ k, Y7 D: |
  34. user_name = user_name_on_the_mysql服务器
    ( n" k  I+ c1 I6 u3 r+ {1 K& S' B
  35. 密码= password_to_go_with_above_user_name
    2 X$ [" w3 ]3 F. [5 e! P: ]5 w
  36. getdriverfunc = getsqldrivermysql 9 w6 W) k  y8 |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 H8 U: L8 c( Q6 c/ t# W
  38. libraryname = path_to_libsqlmy_libary % h  ~* F* E4 j; u8 b
  39. 积极= 1 & c8 w/ r# ~+ ?6 m7 P3 u; i
  40. ---削减这里---
    7 c& {7 L  o* t- ]4 u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      y1 z: z9 y& E* z( E
  42. ---例如--- " N. R- ]$ a0 ^) W: w5 \
  43. [ dbexpress ]
    + G# f0 i5 R% F! _
  44. sqldir = mysql_sql $ N; q3 f- N8 D0 P* E2 h
  45. drivername = MySQL中0 G7 o8 W4 Q8 r- y% G0 y+ j7 V
  46. 数据库=测试
    # p6 u. ~& ~9 F( y5 a. U7 e8 F
  47. 主机=本地主机
    9 x0 J4 ^% m4 S+ @/ h2 P8 K
  48. user_name = testuser
    # p2 X* m% o* e1 q# P( Q! l
  49. 密码= my_password
    : ?$ g! z0 l* S  E# ], }: E
  50. getdriverfunc = getsqldrivermysql   _) P- r6 B3 _6 T: Z, E1 c$ q3 a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 B# L; n  u5 ?0 D
  52. libraryname =. / libsqlmy.so 6 u. R9 N, _$ B* g: U$ ^
  53. 积极= 1
    + d/ c" X6 }. r
  54. ---例如--- 8 O9 P7 F  e1 D7 P4 f7 U& y

  55. 7 N7 H) H8 {$ [8 p) h
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + w7 |: q& q1 T3 n4 q
  57. ---例如---
    + {: a+ T$ }; f7 D0 ?2 x6 J
  58. [ dbexpress ]
    1 f. _3 D1 s7 D1 U
  59. sqldir = mysql_sql 4 O/ q0 y7 [/ y* B
  60. drivername = MySQL中  O2 N" b5 q. s" a
  61. 数据库=测试# H! _0 C; [6 O) I0 x/ N
  62. 主机= 127.0.0.1 ! \$ h. q. r$ F
  63. user_name = testuser 9 F/ r0 L- l# c+ \% t) F
  64. 密码= my_password 8 ~1 b- x! [4 z2 m. Q
  65. getdriverfunc = getsqldrivermysql 5 F% j. {( N0 G- c5 t  E
  66. vendorlib = libmysql.dll在
    ' {% U5 v( w' a" ^! L
  67. libraryname = dbexpmysql.dll 3 v! u' d. t1 Z4 Z8 h
  68. 积极= 1
    $ I( r2 P3 \9 w- q
  69. ---例如---- : d  @. B7 v. ~( @
  70. -写在0 2.03.04由p wk.linuxfan6 M1 f) E0 J9 k# E
复制代码
发表于 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 words7 \0 M6 {7 \8 W

; z4 d/ B# M5 d, vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-9 22:20 , Processed in 0.099703 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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