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

3135 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( h! {9 o, i4 q6 _  i) m6 U# Y0 R% r$ W# q; g
  1. / a# ~5 V: G0 k' `
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 k/ U" o" J: t& Y, E8 ]
  3. 1 T. z8 q1 {: @7 I! _8 e, T' N5 R
  4. ### What we need ###
    3 M) j/ a1 y& V' X
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 Y4 {9 Q6 p- @1 c) o$ ^. z
  6. will not explain how this can be done - there are documents out there for the
    7 E2 U: \- v* O: b
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - J! k% W. ]1 ]! A
  8. and a user account (username + password) that has the permissions to do stuff/ N/ `( e: y2 O) j$ E/ I
  9. with the database. Additionally, you will need a vendor library installed on the* P# @. G8 i% q+ H9 @; C" G
  10. local machine, this came with my MySQL install.
    7 m& B: h) e. ^2 Y/ |. c# A- [
  11. These instructions will not tell you how you might transfer your data from the9 M( ]4 ^7 H# n$ U4 d8 ~- e
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( H$ X) v2 S( ^: L+ s( J
  13. database.
    3 \0 w4 @0 f% M. a% s
  14. Some users have reported ways to import a SQLite database into MySQL, but at) C7 ~# y! F+ B
  15. the time of writing, there are still too many issues - check the current status* o) ?% b# X& ~# \  g6 ~# q
  16. in the TeamSpeak forums if you are interested.
    " C" P/ E+ D# l* c  L0 ?  H4 z- i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* A( O- i! j  T0 K3 g( `4 e! ]# o
  18. Borland was used. This driver can only interface with the client library that - n- f8 S, E- {. ^9 W3 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; u4 a/ n1 }/ ^$ X8 r! E; G
  20. client library - basically all you have to do is to use a 3.x client library as
    . A% V# C; v9 H( t
  21. "VendorLib" and a 4.x database to connect to.5 V% b: s% C9 K
  22. If you need more info about dbExpress, you can contact Borland.
    2 `7 p) k6 I8 H3 ?  S9 d

  23. . @0 Z) V! d3 y) T/ ?
  24. ### Doing the work ###9 |' `* ?4 |- k" v; s. I) \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' o$ l' ?7 t6 }1 ^4 {5 @- H
  26. the perquisites right, just open your server.ini file, and add this section at& Y6 }' J; @$ d
  27. the end:
    : u0 o. k  F* C! z  r( ]
  28. ---cut here---5 V( ?5 i" D  m* m6 b& W; M
  29. [DBEXPRESS]
    9 w6 ?" Z# ^. W" r- O# q
  30. sqldir=mysql_sql/ v2 P/ K, B" t8 R9 I
  31. Drivername=mysql
    0 F6 L' H& y  s3 f1 y" ^
  32. Database=Your_Database_Name_Here
    6 \& Q/ B7 \. ]" t# ?2 H1 ^
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! Y( k0 q7 Q. K- N8 u9 |
  34. User_name=User_name_on_the_MySQL-Server
    - Q% t0 J# y' F, z( v
  35. Password=Password_to_go_with_above_user_name
    5 `& e, V+ j9 k9 ]# s9 ]1 Q$ V1 R( v
  36. GetDriverFunc=getSQLDriverMYSQL/ S3 ?% C: L- n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; H6 t5 n( H) O6 E& J
  38. LibraryName=path_to_libsqlmy_libary
    4 ]* k* z9 d3 h5 c" \, ~2 D$ V
  39. Active=1
    2 q. i! l( w% j5 u& x8 m' c
  40. ---cut here---( u5 X7 A1 L, s7 R$ _8 C" {5 }
  41. In my environment (a linux box with a MySQL server running locally) I have:( P6 O4 _& _  b9 i4 Z
  42. ---example---4 x# N9 \3 [2 w6 u# U# H1 m
  43. [DBEXPRESS]$ I) Z% b8 ?4 m1 r8 E- A
  44. sqldir=mysql_sql
    : a4 U1 i9 m" p% {0 M+ j  u
  45. Drivername=mysql* Y, r6 ]! q1 w/ ~8 E/ h
  46. Database=test
    + T1 u/ R; z( x
  47. Hostname=localhost
    / W  I+ o, G: q1 _1 G) W# R0 H5 o6 s
  48. User_name=testuser
    - D  q. A% F6 h6 y
  49. Password=my_password3 B$ D! e# [; `* P/ Y+ x
  50. GetDriverFunc=getSQLDriverMYSQL7 t& ~/ k0 y& g3 Y, C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 g! O, F! h9 B- ]; @2 b- y3 k
  52. LibraryName=./libsqlmy.so# H0 K# z9 E0 m# f1 i
  53. Active=1
    + E) U1 |. Z2 T! F' d6 V+ x+ ]1 N
  54. ---example---) W$ ?, }9 ?$ e' `$ z1 Q
  55.   ?- w8 }  A% {* G  E
  56. On a windows box, also running the MySQL server locally, it would be:+ f: x, e4 {. p: M# y
  57. ---example---
    ' l- o3 P' O0 n
  58. [DBEXPRESS]
    ) |4 W0 Q! W! {0 m7 Y( h4 n* M
  59. sqldir=mysql_sql
    , P" |( B1 U2 V6 q5 M2 n' j4 ?% C  G
  60. Drivername=mysql2 F. m& P% `0 e& G
  61. Database=test; V( h$ k% |# k& p1 f1 s
  62. Hostname=127.0.0.17 L/ ^; `) S+ {% b5 p3 @
  63. User_name=testuser
    ; c0 g5 j' E, v, l  i  A
  64. Password=my_password$ Q, Q8 }* O" I( G5 R6 i! z
  65. GetDriverFunc=getSQLDriverMYSQL
    9 j5 p4 y# o9 k6 r' h1 Y% b/ M
  66. VendorLib=libmysql.dll2 l1 r/ w0 A4 h* j3 w4 \. n! w
  67. LibraryName=dbexpmysql.dll
    ( p% }" h, ^. c% [' D" H/ _) J* ~
  68. Active=13 ^( U3 W' e0 n7 @
  69. ---example----
    ; l/ o. V( B' }1 G% L2 T0 f3 w- P
  70. - written 02.03.04 by pwk.linuxfan
    4 \1 Y: P8 Y; H1 d$ U% Y

  71. # |4 |7 S6 Q+ I* R1 V" ?: u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ R1 }* s6 ^5 C+ D  j! Y8 c" I0 g
  1. ! j6 N4 e! E! z- L8 I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 A' G( a( L! m% C: S' z
  3. 7 p' w8 e1 M0 Q8 ^
  4. # # #我们所需要# # # ( N8 s0 u, \, Z; j* Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % f" T% R8 B% w7 i( D: Z
  6. 不会解释如何做到这一点-也有文件存在,为. m, w0 R0 Z1 s' Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ L( s0 h* V& V  `- p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 |* q# v3 H. g; v6 v: F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 }$ C8 g0 a, C# q9 [, z. C
  10. 本地机器,这是我的MySQL安装。 $ d- i' N7 |5 ?" e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" @) C1 v% v9 }: A7 e6 ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * k6 p" ~+ R" @8 f5 g
  13. 数据库。 ; _  V% r* T/ j, W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% v# a/ j% [7 X; s" u
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 H6 P+ i( S, }* D& t
  16. 在teamspeak论坛,如果你有兴趣。
    8 R8 }  j$ l4 V% Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 {7 Z( p3 }# d. V! ?6 z9 Q
  18. Borland公司使用。这个司机只能界面与客户端库$ m# n( r1 C1 S6 n, ~$ B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这0 r& w0 L: J! E1 ~; i  X( H* J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" ^4 L0 m8 D- L5 r6 d. d8 U' q
  21. " vendorlib " ,并解数据库连接。
    + o. [( d" z; Q( |  q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - X# c. U% X, U6 z
  23. ; w! b* y6 z9 n5 z( j- z  ^. R
  24. # # #做好工作# # #
    / A5 T& e6 [9 j8 }, s' }! O% x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 n; V6 A! I3 `! Y' ?& Y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : F% C8 @7 o3 j+ T1 b; c& M- ~
  27. 结束:
    % b$ y+ z. n) K' W- k8 u
  28. ---削减这里--- 6 E( ]5 K8 y' c2 n1 H
  29. [ dbexpress ]   z7 K; W( L' w8 m
  30. sqldir = mysql_sql 3 n& m5 q- @5 v1 v
  31. drivername = MySQL中+ R1 q3 E6 S5 n# O
  32. 数据库= your_database_name_here . s6 z7 J  ]. g5 H, J3 S
  33. 主机= the_pc_the_mysql - server_is_on
    ' D/ T: K/ t' N9 h
  34. user_name = user_name_on_the_mysql服务器
    # Y* F/ K, a, ?( h; r1 o
  35. 密码= password_to_go_with_above_user_name 3 F3 R2 i, f( S1 W7 z
  36. getdriverfunc = getsqldrivermysql
    - v6 ~% _) h( @/ f) x/ d' K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 q. e$ l, F% X% i+ D' [0 `
  38. libraryname = path_to_libsqlmy_libary ( E3 e7 O: }6 S$ b% T
  39. 积极= 1 " T- C3 ?( B! c1 c2 g' t7 m0 b: a
  40. ---削减这里---
    2 j0 O- \  j6 t! a3 o
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & @& V  a' |, T: l0 A
  42. ---例如---
    % }3 w) ^& v1 N$ R' n8 C
  43. [ dbexpress ]
    $ M; v! W, j" z- \3 c
  44. sqldir = mysql_sql
    2 J. B' y, z0 c0 Z# u
  45. drivername = MySQL中) g) P5 Y. Q" E/ t# @& c
  46. 数据库=测试
    ( B0 A! |% k  N6 b
  47. 主机=本地主机
    6 t  [: \# {/ c( I- J3 k& r
  48. user_name = testuser   j  t/ ]% V( o7 @# K
  49. 密码= my_password 0 o) |1 j! s! f8 ?% ^' m
  50. getdriverfunc = getsqldrivermysql 8 q3 G8 \5 [, ?  f0 N3 Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   f, k, K- m5 v. h3 ]
  52. libraryname =. / libsqlmy.so
    6 W3 S4 P8 Q! Y: d5 _: @8 C
  53. 积极= 1 0 g  v- w- v2 W
  54. ---例如--- * n; U2 U" W1 g- t! A/ [
  55.   T0 n( x' ^! H
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' a$ M3 }6 @6 c: u/ ?
  57. ---例如--- + O, c4 l$ [  ~* B. I' ?2 C; O% C6 }
  58. [ dbexpress ]
    9 b5 B& e0 F& K# Z( e
  59. sqldir = mysql_sql # m% F6 S4 A: ]
  60. drivername = MySQL中
    $ `5 P' o' R) @1 G; U
  61. 数据库=测试
    - A, L8 h) @# h. }
  62. 主机= 127.0.0.1 6 f8 Y" F  k- R! S( [/ O
  63. user_name = testuser 8 U6 a1 i5 ]: F! E1 T" K# V
  64. 密码= my_password
    ' P  y( q( ?9 b8 `
  65. getdriverfunc = getsqldrivermysql 5 |' x% @% m* u/ K
  66. vendorlib = libmysql.dll在' S0 L5 p# Z  A* d6 G+ M
  67. libraryname = dbexpmysql.dll
    2 @& V/ A4 A7 |+ a
  68. 积极= 1 . s% ~4 D4 b" V" x1 V' ?; ~# k
  69. ---例如---- ) D9 ]- S+ a2 ?
  70. -写在0 2.03.04由p wk.linuxfan
    8 L0 u0 ^4 u+ f. N: y
复制代码
发表于 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$ Q) x$ N1 `# x6 y/ i4 {2 c
# }2 M9 ^# G$ E% t" Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-8 14:10 , Processed in 0.087780 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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