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

2721 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * ~# Z+ [. P/ P+ \- T4 b

5 Z' H; {9 N. E4 A& i. A2 T
  1. , E: f" g$ h2 c; i8 {4 N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 K) q) r5 u8 s0 x- [

  3. 6 w! k& |" n! x
  4. ### What we need ###
      G; X  Y& t$ }' k( h& `; B
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * n& A. |$ r0 M) l4 n! _) J
  6. will not explain how this can be done - there are documents out there for the
    ( q  T/ @* I+ F7 r+ d/ P
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 {1 k! q( A$ q
  8. and a user account (username + password) that has the permissions to do stuff
    * `: k  U0 T8 z/ \2 I
  9. with the database. Additionally, you will need a vendor library installed on the
    9 }% t) V- R+ R: q
  10. local machine, this came with my MySQL install.0 M- K7 Y; `& l# V6 p) a) T% Z( U0 Y  Y" Q, w
  11. These instructions will not tell you how you might transfer your data from the6 V: v" j4 [, X4 A: H
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ; v- D# ~! Z/ p, G
  13. database.
    * D( L' v) b6 ]* g6 l
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " G9 b( z9 X3 j: F
  15. the time of writing, there are still too many issues - check the current status5 m6 p  w, J* Y# E4 \0 P
  16. in the TeamSpeak forums if you are interested.
    # ]: V" Y# c* D& p! E9 z5 H% G. y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# H) B  w) \( l( l9 o7 |& f+ N, x
  18. Borland was used. This driver can only interface with the client library that
    ( x* K7 U% N  G! p8 S/ A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      ~6 A% \9 J0 g4 B4 ~& x+ t& b5 W
  20. client library - basically all you have to do is to use a 3.x client library as
    9 h$ T. C! |( l' `2 m
  21. "VendorLib" and a 4.x database to connect to.' R+ M" N' N; [
  22. If you need more info about dbExpress, you can contact Borland.) r) `7 R+ Y/ _, Q9 h
  23. ( o. e3 h. @  c, G" x$ }
  24. ### Doing the work ###
    * z: |1 l1 K3 b0 A0 a3 j$ y- a2 D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, }) Q3 I/ D" D% u
  26. the perquisites right, just open your server.ini file, and add this section at) v1 ?& c" ]8 ~/ Q  z7 }- u
  27. the end:# z) D" D; f% f+ R( C+ ?, u
  28. ---cut here---
    3 |8 Q  G; A. s) w: i- ~# j' W! S( l! z3 P
  29. [DBEXPRESS]: A0 n/ i* l3 g$ H2 C& f
  30. sqldir=mysql_sql. G$ \- Y( K7 A/ i! E
  31. Drivername=mysql
    0 b5 }8 r5 K# f6 p5 g' a
  32. Database=Your_Database_Name_Here( f& x( o* G! }# c( y( `
  33. Hostname=The_PC_the_MySQL-Server_is_on2 ~: Y9 h. s/ w4 o3 b- ^
  34. User_name=User_name_on_the_MySQL-Server
    9 l: s9 I* [7 @( v* |
  35. Password=Password_to_go_with_above_user_name* c7 ?! k2 E5 C  u! m8 Z
  36. GetDriverFunc=getSQLDriverMYSQL9 ~2 j6 O* u/ h" K+ N: [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ C; ^% N7 T3 r: g5 G9 Y
  38. LibraryName=path_to_libsqlmy_libary
    / v3 i+ q0 @: n5 A
  39. Active=1
    , N: }9 r0 c' e, h% X
  40. ---cut here---) ]$ c9 R  c! f8 Q  ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) q9 @$ a, y# M5 |0 S) {
  42. ---example---3 S9 `. `; @2 K+ _, D9 G7 h8 b9 |
  43. [DBEXPRESS]- a" O3 k. J: I2 B$ @
  44. sqldir=mysql_sql
    ) ~1 ]  Y* m6 l. ^" }& T
  45. Drivername=mysql
    " g$ D& M1 ]; s8 `* L- L  t
  46. Database=test
    . R, e/ O# D4 b
  47. Hostname=localhost
    # |7 h: E* B( P
  48. User_name=testuser# n' W* r* k8 o* ?
  49. Password=my_password* E) X5 f6 z2 C
  50. GetDriverFunc=getSQLDriverMYSQL. ~3 N2 i% Q' s3 c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 _6 K" {- ^3 i. z# R7 L/ p
  52. LibraryName=./libsqlmy.so+ O* H% j; q9 O* j" I' ~, P
  53. Active=17 `( L  `. }* H0 r* s' p, |3 A7 S
  54. ---example---& e$ C2 w5 g3 |1 u

  55. 5 H2 w' K% k" r2 c) A9 @0 [
  56. On a windows box, also running the MySQL server locally, it would be:
    9 V, W7 y1 D8 E& c. l
  57. ---example---
    ( C3 h! _2 w& g
  58. [DBEXPRESS]: m7 I5 J; K" }
  59. sqldir=mysql_sql2 Q1 u) ^  v( }! o
  60. Drivername=mysql
    ) A: V. x7 u3 V- k+ Y) x" `
  61. Database=test7 P  r) [' `2 ^5 T+ g
  62. Hostname=127.0.0.1
    8 J& Y" H* ^- Y3 }
  63. User_name=testuser
    + n) F3 s" l4 J/ U- e- b% r6 k
  64. Password=my_password
    / @2 T4 n) [1 [, h, N
  65. GetDriverFunc=getSQLDriverMYSQL" m! q/ P& _- y- W1 |0 N% I( N' e
  66. VendorLib=libmysql.dll
    + W7 `1 d/ v1 Z
  67. LibraryName=dbexpmysql.dll
    ' G' ^& K; \- J; t/ e, M0 B0 Y
  68. Active=1
    & A. R5 e8 Z" m) B# U
  69. ---example----
    1 `- z) }, m1 t' h% O+ D
  70. - written 02.03.04 by pwk.linuxfan
    4 @8 S4 V2 _6 ^
  71.   h- N8 [* b, a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) G9 [2 ?6 m" b$ G7 E% ]

  1. 2 t! b; R% u, Q/ A" D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 {- p. z" ~$ Y- h- P
  3. $ f& _, s7 K% [
  4. # # #我们所需要# # #
      N$ C5 }1 w- b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 s8 B& a7 j2 ?0 J( e; c+ Q5 L9 V* v
  6. 不会解释如何做到这一点-也有文件存在,为" r( e2 {, Q$ T5 A8 z1 ~8 U( H% m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    2 j4 b$ I5 _( [3 ]' u3 p6 u+ S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 ^3 M4 o: q4 q# F) p& M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) [/ }* B8 ]! e2 f( ]6 j
  10. 本地机器,这是我的MySQL安装。 4 e7 p4 b  u  a0 I7 b$ G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) }0 Q# s- ~, r" j: V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 p3 {- n4 l+ ^5 X: u6 t: C, p! i( w
  13. 数据库。
    9 Q3 B; A2 E6 L% z0 N! z( H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% P8 H9 z2 q% r& n5 @9 L
  15. 编写本报告的时候,仍然有太多的问题-检查现状% d& @# \' L* {1 f. H4 L, d; q
  16. 在teamspeak论坛,如果你有兴趣。 ! I8 k( R# w2 j- @4 V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 e5 Q9 e2 h* \# h/ {
  18. Borland公司使用。这个司机只能界面与客户端库
    ! `9 M. Q1 b$ y- W# o& R& D3 B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " ]* F' _6 C5 b( e/ `, P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 u$ }5 d' i+ V: O
  21. " vendorlib " ,并解数据库连接。   n" v9 a. L3 ?/ K" Y3 ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . ]7 N7 O! e6 U% i5 h4 p

  23. 8 E0 ^$ Y' ?: o# R% c) U5 u
  24. # # #做好工作# # #
    8 ^7 S  Y- F2 r6 r. o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都5 e. P1 T) k) `$ x, o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 f2 i3 K4 a  U7 R5 i8 q/ `, Z
  27. 结束:
    % ?! `2 t2 ?# h4 X
  28. ---削减这里---
    0 ^* E2 \' }1 V( C0 \4 I
  29. [ dbexpress ]
    2 N# K  L& I) w  x& y2 y. i( Q
  30. sqldir = mysql_sql ! b8 O8 ~: W/ h: `, p% K1 q1 M) s1 A, P
  31. drivername = MySQL中
    / |! u' g; `1 F8 V
  32. 数据库= your_database_name_here
    8 D. m4 ?; [4 ]- m
  33. 主机= the_pc_the_mysql - server_is_on
    & `" z* q; x- Y/ x! U
  34. user_name = user_name_on_the_mysql服务器6 H4 |; O! j: P6 o4 M
  35. 密码= password_to_go_with_above_user_name
    : A/ A6 R2 [4 Q  L
  36. getdriverfunc = getsqldrivermysql
    1 Q: d- k' L& H* @9 B! c( C9 A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( ~# D9 ]) C8 ]
  38. libraryname = path_to_libsqlmy_libary 5 f: h8 ~: X$ X
  39. 积极= 1 6 k  Z, c5 ~: J) z. b+ n
  40. ---削减这里--- ! T, S& y" W# z2 X+ ^- x: R& S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . }- J0 z/ M' W$ Y5 U
  42. ---例如---
    1 S) t, ]) \6 P" o
  43. [ dbexpress ]
    % V7 K& F9 ^: X" k
  44. sqldir = mysql_sql , I# {, P! ?; f, \! ^$ _
  45. drivername = MySQL中
    . q8 J$ t/ x, ^2 ~/ I- Q: I( _
  46. 数据库=测试
    8 B. E  r) Y5 |: C0 k' g4 W
  47. 主机=本地主机; U4 ?& F! I! J0 s8 o
  48. user_name = testuser
    ) ^5 s! M$ Y- s3 A; o' _
  49. 密码= my_password , N+ q7 H' a* u; t+ X- Z4 i0 J
  50. getdriverfunc = getsqldrivermysql
    7 t! L' M! F) p3 M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : k5 ?5 u2 X9 B: Y
  52. libraryname =. / libsqlmy.so
    ' ^$ a( P! U4 W
  53. 积极= 1 0 C/ p1 ?, E$ d7 @- g
  54. ---例如--- 5 e. |) y# n4 y- h- t4 E

  55. 8 w; `; k' w" @) o
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : ~0 q5 Z; a" ]; \. L6 @+ h
  57. ---例如--- " {4 A+ j. ]0 j8 m* u/ o' Z
  58. [ dbexpress ] , L6 m# Z6 C: H$ M
  59. sqldir = mysql_sql
    0 N" q4 e, c4 k: J6 [
  60. drivername = MySQL中
    ' d9 h9 V6 `! |- y- @5 \& L
  61. 数据库=测试
    3 v8 K# h0 U# ^/ C3 h8 A, G
  62. 主机= 127.0.0.1
    ' n4 r8 i8 h6 U; h, d
  63. user_name = testuser
    ( [9 f) g! r) ^/ t
  64. 密码= my_password
    ' X+ R+ X  Y- E
  65. getdriverfunc = getsqldrivermysql 3 C. h$ {( J3 ^6 R7 P# Y8 }8 \8 t
  66. vendorlib = libmysql.dll在5 G: v# b2 h3 P
  67. libraryname = dbexpmysql.dll
    1 }$ P9 K9 m2 Y4 s- S
  68. 积极= 1   a. o* n& @, I( A8 |
  69. ---例如---- % Y% _1 a- N5 z* U
  70. -写在0 2.03.04由p wk.linuxfan0 v$ ]; X( b; q  r! v
复制代码
发表于 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
* W4 Y2 b3 ?. |- F: Q/ a% G, Q5 m+ o- @
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-7 12:36 , Processed in 0.106343 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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