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

2419 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , `8 y; Y( _. V: Q% f( g
$ n# I- ?7 z9 |$ v# R
  1. 4 K  w7 U( }8 m7 E8 B, S- X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 P5 d% c: N1 F4 ~" m# j, o/ O4 U2 O! o
  3. , k; a, v+ w  z' `, ~
  4. ### What we need ###% Z% d8 @+ ^. f1 B# k: Q. x% z- h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 x8 y7 b+ Y# Z' @- C
  6. will not explain how this can be done - there are documents out there for the ; {  S( h6 l" M5 g& F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 _- s8 P9 Q0 |
  8. and a user account (username + password) that has the permissions to do stuff: Y# K2 \. o" P. q& }- ^- l
  9. with the database. Additionally, you will need a vendor library installed on the* Y2 d$ u( N$ T
  10. local machine, this came with my MySQL install.
    * Y# f* L7 W/ c
  11. These instructions will not tell you how you might transfer your data from the
    ) ^. h) S2 w: P8 n1 a7 Q1 A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& T' B0 i9 t8 p/ ^0 N  b6 g
  13. database., Z+ _) F9 q' N+ }* v( L
  14. Some users have reported ways to import a SQLite database into MySQL, but at( i! H. A' k0 ^$ _
  15. the time of writing, there are still too many issues - check the current status: b& e# j( h/ `/ [9 }$ Z' M: g; P
  16. in the TeamSpeak forums if you are interested.4 J& T7 b$ [/ I) U7 E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# X2 h7 `/ G" h9 z5 _
  18. Borland was used. This driver can only interface with the client library that : G( p1 e4 I1 I" ]% a5 s* b- w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 v0 a9 ]9 ]; f# e, @5 ~' B+ M
  20. client library - basically all you have to do is to use a 3.x client library as
    ) L' K- F; }! b3 ]) |5 @, a1 k, ~# R8 T
  21. "VendorLib" and a 4.x database to connect to.- S9 ~/ w+ }9 `& H
  22. If you need more info about dbExpress, you can contact Borland.
    ! O  a9 m* U% L1 _
  23. & m* z0 E- n+ G; Z: U
  24. ### Doing the work ###
    - f5 J0 k: \1 n4 `  h/ S7 i: C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& [0 D( W' `: G
  26. the perquisites right, just open your server.ini file, and add this section at
    $ [! v4 a  N- I
  27. the end:( E# c+ q, L+ F
  28. ---cut here---
    + t, h* y( b8 o2 u- J
  29. [DBEXPRESS]
    & s( |* n0 k* S2 U
  30. sqldir=mysql_sql
    % I9 ^0 w$ u7 B4 I0 Q9 z0 P8 M
  31. Drivername=mysql# p0 r8 `% d. w
  32. Database=Your_Database_Name_Here# A0 T! _! y; @6 ]) y! h
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 d# i, D3 r7 N
  34. User_name=User_name_on_the_MySQL-Server
    9 Y0 h/ W* N, Z- B0 v+ U
  35. Password=Password_to_go_with_above_user_name
    * K3 H" d7 ~8 }3 c
  36. GetDriverFunc=getSQLDriverMYSQL
    % ]# E& f9 I! o% m4 ^8 }, x, {
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' t0 v% G6 G7 j0 ]3 U% j8 S
  38. LibraryName=path_to_libsqlmy_libary
    0 U6 K" O+ Y0 w* V2 @( f  N# N
  39. Active=1. }, v) N% e( O6 W" T" b; }+ u; \
  40. ---cut here---3 C( N; j$ ?# S; n! K$ y
  41. In my environment (a linux box with a MySQL server running locally) I have:7 j2 o( \& s% Z* B2 f
  42. ---example---
    - y' s' c0 R) ]+ v; |5 C' n( O
  43. [DBEXPRESS]& f5 A# _  j) ^0 }, P
  44. sqldir=mysql_sql
    ( V! N' \8 g" z7 M* A
  45. Drivername=mysql
    0 }) T, {7 M/ a* {
  46. Database=test: u  ^3 {: H2 ~9 K
  47. Hostname=localhost
    2 {) R. Z7 O% ~
  48. User_name=testuser
    / v3 C. R* C2 d4 [% D8 {# y/ P+ X$ U
  49. Password=my_password
    + ~0 q+ d& g; X1 {! |  P7 t: X
  50. GetDriverFunc=getSQLDriverMYSQL
    & A( [- Q. z$ v- n- S6 b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 x' t* A) Y* H* g; j2 l/ U
  52. LibraryName=./libsqlmy.so. ~2 J, a6 H3 |' K- w
  53. Active=1
    7 _# \3 _' Q" T( Y# M
  54. ---example---: i; M& V* `/ ~$ Z
  55. " Y7 Z) n; o! o% a
  56. On a windows box, also running the MySQL server locally, it would be:) d$ F5 l- y) d: d3 V% w
  57. ---example---) _! D! p% s4 u
  58. [DBEXPRESS]/ ?* k, A/ x7 V: z: Q! X: P* f
  59. sqldir=mysql_sql& ^2 o( Z5 y+ r! u$ }! X9 R
  60. Drivername=mysql
    ! P' J0 Y0 w- P  \% n/ f
  61. Database=test' T, {) p$ y' V2 g, C7 v2 y4 S
  62. Hostname=127.0.0.12 |1 z5 |0 ]6 F! m: R
  63. User_name=testuser
    : h$ s: m, a$ x2 n
  64. Password=my_password
    ) G0 @$ b( I6 g3 f
  65. GetDriverFunc=getSQLDriverMYSQL
    $ S1 M  X$ K9 J
  66. VendorLib=libmysql.dll7 G! L  t' O! i! C  j1 m3 G. n
  67. LibraryName=dbexpmysql.dll
    $ u' |* v2 u+ s" Z: q+ p- G% F
  68. Active=1
    . v- e( S. J# p: k6 p
  69. ---example----
    0 K+ g+ u  M- }  ?$ P
  70. - written 02.03.04 by pwk.linuxfan  d$ g) z/ D7 \! @2 `
  71. ) {6 H. T1 k( k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  ~. |. u8 i3 s& \

  1. & S/ `( ]) ?" B, w6 c/ R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , `5 S, g2 G* |! o

  3. & F$ r2 c& L% r
  4. # # #我们所需要# # #
    0 R" B- u+ O) M7 f+ ]$ H; t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  \3 f2 r8 V1 K6 d! D- j- n# X
  6. 不会解释如何做到这一点-也有文件存在,为) j4 d2 W1 l/ Q3 S' ]. K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 n, U' n8 D- e3 I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    * |- D/ r# U; [' Z9 W6 {* p/ a6 R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 ~2 V0 k6 ~2 O3 ^  X1 |
  10. 本地机器,这是我的MySQL安装。
    2 N! c* N! V8 [! i. q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 ]  z; @  T# A- @/ w8 M- p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 }1 c% P' C2 w5 |- k. ^" r
  13. 数据库。 6 p; M  l: Y/ h( |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! x' Z7 Z2 N/ Q5 [# H
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 l8 J/ L, Y# \, w
  16. 在teamspeak论坛,如果你有兴趣。
    6 z( c+ H5 ?6 Q% x- J5 p3 t& Y/ Y  o; b" t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 n7 \8 [1 a' N' v
  18. Borland公司使用。这个司机只能界面与客户端库
    - B- e6 N5 t) M( H; G% V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 h5 I# [: \+ x$ S3 u- l8 N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      T6 Z: h3 p: w" J' a
  21. " vendorlib " ,并解数据库连接。 2 M! H" |) \  B9 ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( l2 S: O2 i' J) ~" o& p2 l1 i
  23. ) V/ U, F+ c9 G) U3 R( H
  24. # # #做好工作# # # ( u& L" |5 J. ]* |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" e5 h+ G" b" F, v$ C4 h# f4 ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; N$ Q# L: q- j5 h
  27. 结束: # q9 z4 ?3 O5 w0 c( J, u1 \; }
  28. ---削减这里--- . `. y, w6 b! X5 r1 ]9 P
  29. [ dbexpress ] ; {9 ~* V+ x/ C
  30. sqldir = mysql_sql
    & t- T, i: J9 T+ Z  m5 I
  31. drivername = MySQL中) Z0 s* e5 Q3 c9 _
  32. 数据库= your_database_name_here 6 W1 h) w. S) T$ U# Y. m1 b% W
  33. 主机= the_pc_the_mysql - server_is_on
    1 u$ }0 ]0 _6 I7 m$ |+ ?: _
  34. user_name = user_name_on_the_mysql服务器
    ! H/ Q/ `" y6 R' A& _  a, w4 `
  35. 密码= password_to_go_with_above_user_name
    * b9 E- \0 Q! `: [& O, i3 P- v! M5 F
  36. getdriverfunc = getsqldrivermysql
    1 L( ~+ \9 R0 v+ _3 o
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 K8 _# Q1 h) Y' e7 g/ p- I
  38. libraryname = path_to_libsqlmy_libary $ m4 c; X7 b$ b- f
  39. 积极= 1
    5 v! c! A, `# ~* B
  40. ---削减这里--- ' ?3 K# N# s. W$ q% K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 \1 j9 ^" |, Q; m* M* Q% h
  42. ---例如--- $ h, ?& z# D1 x0 v
  43. [ dbexpress ] & Q4 Q5 R5 n& B1 ^
  44. sqldir = mysql_sql . Y% j) D( Y/ j: y
  45. drivername = MySQL中4 H+ M0 M7 a, v" {8 L
  46. 数据库=测试
    . ]! ?' n8 t( `$ E& Z# y/ F! C8 {
  47. 主机=本地主机( {* e& b$ K0 E9 O- F1 ]
  48. user_name = testuser ) t0 r0 {. I# L$ ~" e; P
  49. 密码= my_password 2 B. [$ r( Q8 D$ y+ q9 \/ D7 _
  50. getdriverfunc = getsqldrivermysql 9 K9 T3 _2 v* s7 R6 x% `( P8 w7 O
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 q- ~: }/ n4 l: x
  52. libraryname =. / libsqlmy.so
    " q( o% {% C% H+ \2 u7 a: n9 n
  53. 积极= 1 6 T! _/ x* P4 {/ O. \8 w* S* H
  54. ---例如---
    2 U, x2 J% E  P4 H% x
  55. , }; g4 e5 x- O1 R3 W" p
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & l8 E" y/ [. l# ^0 `0 R
  57. ---例如--- 2 Z- d0 L  a: k' e) Z2 \: r( j) P
  58. [ dbexpress ]
    , _( k) ~  Y2 ^; i4 P# X
  59. sqldir = mysql_sql
    7 {6 m9 |2 T7 X* b9 [- T! c- l
  60. drivername = MySQL中' W4 x7 d2 ]. Y$ l  `" [$ X
  61. 数据库=测试7 f( S: H7 w0 d$ {3 @
  62. 主机= 127.0.0.1
    3 @+ k! L2 h( o# a8 W" y: e/ s. G
  63. user_name = testuser
    9 E4 d! `- A2 K2 ^
  64. 密码= my_password , U! y1 k: T' r0 b; l5 ]
  65. getdriverfunc = getsqldrivermysql
    & R6 |) u3 G' x/ f8 b( a& l/ j3 V0 ~
  66. vendorlib = libmysql.dll在
    & Y, p% U. `6 X5 V4 y$ j7 l7 H5 M1 R' w4 L
  67. libraryname = dbexpmysql.dll
    ' f: y& m% O: W" N; N7 q
  68. 积极= 1 6 v) f; P) @( O1 g3 J
  69. ---例如----
    7 F/ D$ A# `) t
  70. -写在0 2.03.04由p wk.linuxfan9 U/ d, V$ \+ }* b3 C. r2 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 words! f: R4 G1 v3 F/ I
5 N7 T/ |5 v5 w, B, b
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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