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

2618 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) B' Q0 n9 y. s8 c" a7 G- j. m, o: D
2 C8 g; r' k3 f, t; W' t
  1. % M* t  C- S+ C3 J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, H8 }/ X) ?' f6 e3 Z/ t

  3. 2 ~# F4 }* U5 g8 W
  4. ### What we need ###
    ( X% w5 j$ t$ X& g. [  K- P
  5. Naturally, we will need a MySQL server to store the data for us, this document ( o2 b; v2 Q5 X. Z6 m
  6. will not explain how this can be done - there are documents out there for the
    9 H9 p2 z4 @  m. t$ X! u
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 T  F! J% d* A- S! z  a( X5 @
  8. and a user account (username + password) that has the permissions to do stuff, D# _/ S% y1 Z' {
  9. with the database. Additionally, you will need a vendor library installed on the
    4 \7 q- g; b3 ]" f2 w* Y, T5 h' {
  10. local machine, this came with my MySQL install.
    $ w# k, @7 E; ]6 C9 z: J. D  R' |
  11. These instructions will not tell you how you might transfer your data from the6 R* \6 D  t! S4 u( j. t1 P/ D: m( z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 O( f% \2 C2 T
  13. database.' |$ g) z' t, e
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 w& g4 `5 ]& I* w" d& ?: n
  15. the time of writing, there are still too many issues - check the current status' o- J6 ^* G" Y+ P' I7 d7 u
  16. in the TeamSpeak forums if you are interested.
    4 n/ f4 w) G, B8 s* t9 C- H+ T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ U8 m* ]  i2 ^" B8 R2 m$ B) w3 l
  18. Borland was used. This driver can only interface with the client library that # }6 M. K$ X: Q5 N$ ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 k: ]4 E& F- d8 k' h: V
  20. client library - basically all you have to do is to use a 3.x client library as 3 L% o: Y' M/ K  t& ~
  21. "VendorLib" and a 4.x database to connect to.
    0 B, b7 C: e+ _
  22. If you need more info about dbExpress, you can contact Borland.
    9 k! j# k6 x5 j
  23. / n9 t7 b& t0 I
  24. ### Doing the work #### r- ^* t! U  _9 h) G: Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & p9 i4 w8 W, \! Q
  26. the perquisites right, just open your server.ini file, and add this section at
    ; A0 Y( Y" ]  X: Y8 ~& x/ ^- L
  27. the end:  P9 K, x+ X3 b# ?* Z& _- {
  28. ---cut here---
    ) t; _3 h7 v% L7 w4 j1 w& J  s
  29. [DBEXPRESS]
    " n$ Z, O. ?3 @0 ~7 p" N) e+ n
  30. sqldir=mysql_sql6 K; m7 S8 J1 ]: d5 h8 {$ B
  31. Drivername=mysql
    . d# T3 H: h" d# b5 J( p" y
  32. Database=Your_Database_Name_Here4 d; I9 @- k1 @  _
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 G4 ]$ G# w0 E* H+ b
  34. User_name=User_name_on_the_MySQL-Server
    " f! [3 ]4 Y6 ~' ]6 h. a
  35. Password=Password_to_go_with_above_user_name5 m+ N5 ^; t+ b; E6 `
  36. GetDriverFunc=getSQLDriverMYSQL
    $ K' o7 M- O; t
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: t8 v  Z* r7 W" @1 L  S
  38. LibraryName=path_to_libsqlmy_libary4 v5 ?4 J) Z" G
  39. Active=1
    2 \& I. _) A# t+ B
  40. ---cut here---
    / g6 b/ _* U( F. x7 o% m, W( a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . G* T7 i+ @. L, m2 ^
  42. ---example---
    1 p8 a7 \  C4 f) F  L" h' e$ E
  43. [DBEXPRESS]
    3 U/ k6 D: Q7 x. K' G# F% M' D
  44. sqldir=mysql_sql
    ) Z* r7 y- a% {* l/ r* t
  45. Drivername=mysql
    6 N8 ]2 m% b( C$ T; f
  46. Database=test# K" V: ?- `' W
  47. Hostname=localhost2 k# c! Y1 d3 {3 l( U+ l) i# ^
  48. User_name=testuser
    / v4 m% g  p  P, W  l
  49. Password=my_password( N' J% z- C. O: w0 @
  50. GetDriverFunc=getSQLDriverMYSQL
    5 {8 s: g, f2 f. O  j% @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 t! G. Z4 x1 Q5 D9 I& N
  52. LibraryName=./libsqlmy.so4 n1 ?3 c, C' a; |7 B
  53. Active=1, H* f6 z) e$ r* K1 B5 U
  54. ---example---# |' [: `2 P" L$ Z- h; j+ `7 L

  55. / t7 b, u1 b# d' O
  56. On a windows box, also running the MySQL server locally, it would be:
    / I) w+ x3 J! X1 l
  57. ---example---
    / b- u/ W* U. _/ G
  58. [DBEXPRESS]
    ! U/ v+ k8 S+ b8 E" K; @) `9 H* X
  59. sqldir=mysql_sql0 B+ I8 C- T5 R( @6 L
  60. Drivername=mysql
    ' A) P# \6 z. i: F5 f! y/ r+ ]
  61. Database=test
    7 d+ \$ V. Q1 L4 o+ r( E8 G
  62. Hostname=127.0.0.1& H/ G8 I3 a6 ?* ~# ~
  63. User_name=testuser
    ( O7 I. ?" I: e5 I3 v) r3 k% Y! f
  64. Password=my_password; [8 g  ~# c' U/ t, ]  H  q9 m
  65. GetDriverFunc=getSQLDriverMYSQL
    ) N7 }# n( s: b  r0 N) j& _
  66. VendorLib=libmysql.dll5 r- {9 x# _+ s8 X
  67. LibraryName=dbexpmysql.dll
    4 @' a* a) [9 K( [; ^; T
  68. Active=1
    ( Q" D3 E5 N) |' I' H4 N3 l
  69. ---example----
    2 B6 t, J% ]/ L
  70. - written 02.03.04 by pwk.linuxfan
    : D8 B! k" Y* L' S9 t3 B0 U* Y

  71. 0 k3 o7 Q0 P8 a6 X1 N6 a# ~. c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! [* P. x3 l" T3 w) l# J

  1.   S  e: G" {4 l1 c! r$ i% `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 q0 a. e1 j9 K$ l+ Q- C

  3. ; W% J" P5 h5 Z; x+ x3 s/ R
  4. # # #我们所需要# # # 5 x9 r5 @: Z$ i0 l0 a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 t9 _8 ^3 |" B  Y. u! V
  6. 不会解释如何做到这一点-也有文件存在,为$ `3 b/ `& z- p% y5 {) D% {4 |3 _
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  h$ ?8 J& j& Y8 B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " b- d4 f* Q; p" z+ Q% l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 m/ R% {! k# C! z: K/ |& m+ x5 y
  10. 本地机器,这是我的MySQL安装。 4 y7 ]6 w; J4 r- a$ g6 m* E) c$ h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; ^* d% V/ }" \# |  V5 k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " d' o9 N) S2 \6 {8 W
  13. 数据库。 8 k: H# ?. ~4 u, [+ s" _( ^5 M9 O
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 {' U6 H7 L5 v/ O) t
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 {  D# Y4 W! g/ ?
  16. 在teamspeak论坛,如果你有兴趣。
    ( A  I2 D) p1 Q) g+ U! @, y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; ?  j3 o% M4 R1 Q2 L* g( }) ^6 b
  18. Borland公司使用。这个司机只能界面与客户端库: j# B3 y3 r# f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 i5 n. M, J7 B: W% z! O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, J% d3 O# w* D, d) Y( L. O0 c: p
  21. " vendorlib " ,并解数据库连接。 # u& ]1 Y: O- f5 I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 c0 m; ~! a# P0 a2 I
  23. , b1 R  X( k. @
  24. # # #做好工作# # #
    ) D) y" U  k1 C+ L3 `9 T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 [5 z/ |8 J! z1 u- Q  Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 l7 q/ ^; l4 a% w' Q
  27. 结束: ' C/ M8 o- |7 H6 t
  28. ---削减这里--- + _- X- T! D2 R3 U
  29. [ dbexpress ] 8 w6 _5 X$ O$ k5 k5 N8 j
  30. sqldir = mysql_sql
    * P% |1 ~, u! t. @) a- ^3 s
  31. drivername = MySQL中
    4 c1 I1 s0 o8 e  T, B/ Z
  32. 数据库= your_database_name_here 0 E+ O! F5 g1 g* N5 B
  33. 主机= the_pc_the_mysql - server_is_on " o% k) \: K4 q( Z7 @
  34. user_name = user_name_on_the_mysql服务器
    1 Q% B0 b+ K; ]. b% e
  35. 密码= password_to_go_with_above_user_name + p  z8 ~2 z4 J7 |6 M
  36. getdriverfunc = getsqldrivermysql
    $ A) s8 M2 z) H( ^2 O3 i$ E
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 R5 t. Q. x/ V% A# A& P8 m
  38. libraryname = path_to_libsqlmy_libary   _/ m! P+ Z4 C4 e& E
  39. 积极= 1 ! N1 o, P. A9 H
  40. ---削减这里--- 8 {  k4 [: p  b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ D% J  G0 O1 C: J9 [/ w# b* m3 L6 @
  42. ---例如---
    6 F7 A5 j9 _2 l$ c3 F& a
  43. [ dbexpress ] # ]/ _+ w1 m4 g8 D7 ~
  44. sqldir = mysql_sql
    4 a$ Y4 [& ]! c/ s- S- Z
  45. drivername = MySQL中
    1 @# e3 r, w$ D! b
  46. 数据库=测试* ?8 N. J- @4 F; [0 q
  47. 主机=本地主机
    3 f' s3 B6 r+ \/ l: }& T4 w
  48. user_name = testuser 7 {$ m! U6 U% E% B% O
  49. 密码= my_password
    ; i$ j2 C& @# X
  50. getdriverfunc = getsqldrivermysql $ Q8 s3 a8 [: _4 Z! ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( x' F* e+ A# }( r' t3 i3 H  g
  52. libraryname =. / libsqlmy.so
    - t3 x9 G$ E) m6 }. e7 p! z
  53. 积极= 1 9 I  ^! H$ d# P" o# u$ p& e0 c
  54. ---例如--- 9 v" S# ]) t) M( Z: V6 g8 s
  55. 2 d9 Z0 E# r9 r4 E8 U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - w) L$ U; i5 G. ~& W
  57. ---例如---
    $ l6 n; m# I; i8 S0 N
  58. [ dbexpress ] 5 S: C, w: e+ A; x2 [2 n
  59. sqldir = mysql_sql
    $ \! r# c, \/ s; |
  60. drivername = MySQL中; `8 M5 E) m- X3 X% J1 f4 I& {; E: }
  61. 数据库=测试
    8 X. A0 B9 g  {! ~4 b3 g
  62. 主机= 127.0.0.1 " R  |. R2 U; V) A* X6 b
  63. user_name = testuser : e7 M# o& j: e/ L+ Q! J
  64. 密码= my_password
    , @$ J, F4 z, o" H
  65. getdriverfunc = getsqldrivermysql 0 T& D+ q5 j5 F; s8 r3 A
  66. vendorlib = libmysql.dll在
    & m0 z+ U0 q1 Z: {: B2 I6 Y
  67. libraryname = dbexpmysql.dll 3 ^2 Y5 O0 v9 x' {- x9 q0 L. f/ O
  68. 积极= 1
    + x9 |. g1 j/ P" B5 h! ]6 Z
  69. ---例如---- . _4 }4 B2 t. d: V' t: m
  70. -写在0 2.03.04由p wk.linuxfan
    ) U$ L0 Q6 S0 R  p  b
复制代码
发表于 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
- v- d2 q% ^1 |% E$ y
, G- t* S$ R2 I& h: c) ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-13 18:58 , Processed in 0.099667 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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