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

3397 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' l( c! W% a  [( y

1 t" |( y8 Y" a9 z' J+ S8 ~

  1. ! H# E7 L8 a# D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 }; n2 W" F( J& P+ I

  3. % v3 b& _' L( g6 u8 S2 X+ ~" l
  4. ### What we need ###
    , M# Z* W8 b/ X( v7 L: A: ?5 ~
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ }" X1 {* ]3 z! a2 J" W
  6. will not explain how this can be done - there are documents out there for the
    : x, b8 q) n# B7 b1 |0 w
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / \' b% }* Z6 }, T, o6 }9 N  t
  8. and a user account (username + password) that has the permissions to do stuff
    & S- G2 s- d1 }
  9. with the database. Additionally, you will need a vendor library installed on the4 Z3 P$ a* J6 X/ Q# `% {
  10. local machine, this came with my MySQL install.
    5 m. _5 W2 \3 h
  11. These instructions will not tell you how you might transfer your data from the
    ( X/ |% v/ ~( L5 u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' h4 B+ M0 E8 Y( a% z- D
  13. database.2 O$ k; y! W: b5 O  a" D
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 m! W/ e9 P- I: O; z9 @6 y
  15. the time of writing, there are still too many issues - check the current status
    / V/ }7 i* W* g( E& K
  16. in the TeamSpeak forums if you are interested.& c$ R, [5 P/ t* R  ^9 R) j/ n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) q$ e4 w- a; ~$ Q% ]
  18. Borland was used. This driver can only interface with the client library that
    * A2 h1 `; s8 q0 F& d3 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 f3 J8 m0 G  U# Q" A
  20. client library - basically all you have to do is to use a 3.x client library as
    ; d# U. |7 A5 c0 T
  21. "VendorLib" and a 4.x database to connect to.
    & X9 y' t* {; \$ ~) x% m1 S: U0 n+ g( x
  22. If you need more info about dbExpress, you can contact Borland.
    4 Y+ L7 Y) Z3 Q9 B- T, [8 C
  23. 7 A$ b9 C5 @2 m
  24. ### Doing the work ###
    - n& D) ]8 D, X& m2 B" x1 t( p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; x* x# a1 K, t1 K5 q( U0 E, e
  26. the perquisites right, just open your server.ini file, and add this section at' U9 T, Z+ Y; c2 n+ R4 I
  27. the end:1 ^+ g) M# F5 G! \* z
  28. ---cut here---1 N! t1 b5 {. h1 k# k% z0 e' b
  29. [DBEXPRESS]2 D7 S! f, X2 Q# s2 X( j& d( R  v
  30. sqldir=mysql_sql
    $ `+ F" U4 ~* C! G
  31. Drivername=mysql9 p) C8 P: F9 D% T( i7 {7 s
  32. Database=Your_Database_Name_Here+ r+ R; i1 W8 f8 }# y/ F& Z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 o" a3 D3 M: S3 s
  34. User_name=User_name_on_the_MySQL-Server2 r' w$ o& _) @* j) O6 o+ o
  35. Password=Password_to_go_with_above_user_name
    . G) y! S% m- ^% ?4 q
  36. GetDriverFunc=getSQLDriverMYSQL
    * u) J+ N: z8 G3 G
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& f4 l# [" b: r$ F) i5 J, V
  38. LibraryName=path_to_libsqlmy_libary
    ' u1 g; x5 v$ n3 x) x
  39. Active=1
    & I: g+ U$ p4 c5 {  `3 |
  40. ---cut here---
    ( z5 a; @; I3 d7 p3 O, a
  41. In my environment (a linux box with a MySQL server running locally) I have:# f2 O+ L( Q$ ^2 w/ R
  42. ---example---
    / b5 R8 k! M, ~! f/ b# I
  43. [DBEXPRESS]5 \  K* U/ I4 c' G8 ~6 n
  44. sqldir=mysql_sql
    ; }. }/ j0 @* o: A' {5 a
  45. Drivername=mysql
    9 i  m8 t8 |. F' U
  46. Database=test1 C, k" k- n5 }( |/ p# p2 l
  47. Hostname=localhost
    8 ^- p" Q+ w  T- A7 Z# n7 Q( B1 B
  48. User_name=testuser3 _0 ]- ~; p! k
  49. Password=my_password" w7 t. ?! m+ W
  50. GetDriverFunc=getSQLDriverMYSQL- \# U; D) \) s0 Y/ s5 g( R/ l1 q, `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0! d! P: i, Y, w! |- g' m( D! [
  52. LibraryName=./libsqlmy.so' k0 h9 t" {6 ~7 K
  53. Active=1
    2 I7 l/ q! \- m! e  Q  G+ u; f
  54. ---example---+ z1 W6 d; e: w# z5 |' R
  55. + C. |& Q4 m* ^' r0 q8 T5 M- I8 r
  56. On a windows box, also running the MySQL server locally, it would be:
    ( a. J  W9 b5 O0 n) {; n. B
  57. ---example---  a0 }7 q! d6 R
  58. [DBEXPRESS]
    ! q% \$ a4 T2 o
  59. sqldir=mysql_sql
    ; i7 s* t3 n# G# N$ ~0 T
  60. Drivername=mysql5 {: z1 L1 x- K9 y
  61. Database=test5 u0 J- s8 q- |: W. g
  62. Hostname=127.0.0.1+ h( i5 x7 [$ T0 B5 u/ f- X# O. K
  63. User_name=testuser# ~5 Z: {+ s& |6 |) K% n
  64. Password=my_password
    * I1 y, ~% ]/ u- h# @% W# K
  65. GetDriverFunc=getSQLDriverMYSQL
    8 l7 t5 t2 L" G4 ?$ }6 i9 R& N
  66. VendorLib=libmysql.dll4 l) k9 w$ M: P% h7 W. `  Y
  67. LibraryName=dbexpmysql.dll& ?. X! o: _* `+ B! B' F
  68. Active=1
    0 ]' N; c- |; _" }/ M
  69. ---example----
    4 ?" l/ Q" X, N+ C5 N
  70. - written 02.03.04 by pwk.linuxfan; B$ \. L% E) g6 X; W2 D1 A5 i
  71. 1 x# t  L6 V7 Z7 F- q$ n' {
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: Q% b$ x0 r; A$ ~& R1 J& {& h0 K8 c

  1. . M( ^! C0 `7 b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 b2 e# Y$ `7 {, G

  3. . P" {5 u+ F/ z+ ~6 D" D
  4. # # #我们所需要# # # 7 n$ F8 v! n3 O+ I* _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 P' d1 L& E1 ^4 ^9 o9 R
  6. 不会解释如何做到这一点-也有文件存在,为
    : P7 S$ o* l/ k- l5 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& j6 \9 J5 _6 M8 m8 |" W) Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 T7 q" B) I5 G* F' m+ a+ M* i$ F' }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ ]+ f9 ^! X$ [& {) J  D$ R
  10. 本地机器,这是我的MySQL安装。 $ C+ ]  W; J: i2 ~! I1 {1 ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 s: ?: h' |5 x0 U$ M/ D; |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   @1 z7 V6 Z( P* e
  13. 数据库。
    0 l, b0 x5 b0 ?; Y3 t1 w& L5 E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 o8 |# Q& r' X5 f  I
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ v' ~/ [( I% Y6 Y. {0 r
  16. 在teamspeak论坛,如果你有兴趣。 * U% R( M; K( [  z! E# |1 Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( g7 k, L+ U4 l6 s- s" G; t: X# {
  18. Borland公司使用。这个司机只能界面与客户端库1 Q9 S& Y* f6 p, h8 j. i0 f' Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 u: y, M$ ~* }; B2 r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 ^8 L  V. `- u/ O$ T7 a
  21. " vendorlib " ,并解数据库连接。
    / e4 K  m8 W( N( I# ]0 c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . @$ b+ R0 F% [  u, c8 @

  23. + _' E# B% O/ y
  24. # # #做好工作# # #
    ; u% B% V' C- w( C( x& r2 m3 x, v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , j; Z7 d; x6 C% x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 [% c2 \  F5 ~$ n; g
  27. 结束:
    1 n! g: }- Q. N
  28. ---削减这里---
    & w, w% \. {; V8 l
  29. [ dbexpress ] - ~6 k5 _8 J- n# y7 [
  30. sqldir = mysql_sql % n* f* G; }2 ^, x  K* O. o$ D; s
  31. drivername = MySQL中
    # P! L1 K% X2 R# w1 [& f+ p6 q* b9 w
  32. 数据库= your_database_name_here
    9 C1 K8 ~& `  ~4 ~1 f6 E
  33. 主机= the_pc_the_mysql - server_is_on   |. m  i/ G" B' x
  34. user_name = user_name_on_the_mysql服务器
    6 t% d7 t( H3 I
  35. 密码= password_to_go_with_above_user_name
    4 J) O6 e8 E; L+ Q
  36. getdriverfunc = getsqldrivermysql
    + Y. E$ }; {  \' p# G* f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * r% i) H( `" Z! G. _" }
  38. libraryname = path_to_libsqlmy_libary
    : p1 L& E' Q7 [7 T
  39. 积极= 1 / ~; \* y6 W2 o* y/ H: |+ T0 p
  40. ---削减这里--- 5 n3 v4 J$ o/ e0 g4 F- {1 ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 B- t/ B& [& j2 m5 M: b
  42. ---例如---   s3 |! Z7 g& P! ^# w
  43. [ dbexpress ] ! H; j3 x: H% Z( w
  44. sqldir = mysql_sql + |. i" @) X" T# F' X' j/ m
  45. drivername = MySQL中% Z4 r. Y9 Q. f6 v7 E
  46. 数据库=测试
    + g: c% P6 I$ `5 `
  47. 主机=本地主机- B5 e# \  s2 T$ c2 k8 k
  48. user_name = testuser
    : p. Q" I+ a5 j  ~: {
  49. 密码= my_password 7 R+ \7 `9 i6 ~6 z
  50. getdriverfunc = getsqldrivermysql
    " P# V4 z4 I3 z: v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % [3 D! G3 ^5 d7 P
  52. libraryname =. / libsqlmy.so
    # B1 n6 |; d( K4 \' N, N1 w, I/ a
  53. 积极= 1 , ]0 ?( V7 c# }
  54. ---例如---
    ' J# ?& V. Z6 D. g' m, U# x# y
  55. & c: L1 ^* u+ \) r9 J5 }
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # j9 c) r( l6 \
  57. ---例如---
    0 f& y  y* T* c, f' Q# @
  58. [ dbexpress ]   O% u3 I8 x' ]7 y5 ?& w) P- K5 ^2 ?% ?
  59. sqldir = mysql_sql 3 P! {, H# _8 d
  60. drivername = MySQL中
    9 f% ?. a! t( L4 ^  r
  61. 数据库=测试. h4 N3 d( q: {, [. I# J
  62. 主机= 127.0.0.1 9 v2 l' v( ^% x% Z* Z
  63. user_name = testuser . \; h9 ^& c% A0 W' h5 U' b
  64. 密码= my_password
    & j6 n7 V) j" m9 u; B1 L
  65. getdriverfunc = getsqldrivermysql " m+ L! x. z: o. V
  66. vendorlib = libmysql.dll在/ |5 e7 q& E; d6 }
  67. libraryname = dbexpmysql.dll
    / ~2 }# T+ O8 F
  68. 积极= 1 $ t$ q0 l% a. \6 c+ K
  69. ---例如----
    ' w$ h& T1 R+ r( V0 W
  70. -写在0 2.03.04由p wk.linuxfan- g( C* X! L7 ^6 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
5 I" B4 ~& z; W1 [! h  `# m; R% M  ?/ _9 x
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-27 00:41 , Processed in 0.048683 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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