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

2243 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 Z- o8 T. A! O4 P2 m& f7 p3 l+ U' y# W0 z9 G, W+ D4 \! O

  1. / V! i% b8 K( a* X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! b+ k, t: F' o7 g7 n; I  U
  3. - s, ^" R( a1 s, R4 ]  v
  4. ### What we need ###
      M- z5 p! m. u$ w. Q3 O  l, ]% I
  5. Naturally, we will need a MySQL server to store the data for us, this document . I4 S% }' a, r, F1 R) B& x: i2 P
  6. will not explain how this can be done - there are documents out there for the 8 z" e5 C4 _' ~3 E% g  V- K
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) P6 a& y1 q0 M; Q
  8. and a user account (username + password) that has the permissions to do stuff! J- _# k0 v" s) i6 u
  9. with the database. Additionally, you will need a vendor library installed on the
    ; ~. o9 B8 ]" w
  10. local machine, this came with my MySQL install.  i4 ?. s$ j+ v7 r8 R
  11. These instructions will not tell you how you might transfer your data from the( [5 `. x( x$ d, c# p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 ~; U! F9 \& v% D* F
  13. database.
    0 b% ?8 N$ f1 o9 n& k
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      M0 M/ X- ~  l+ B- i8 F6 U
  15. the time of writing, there are still too many issues - check the current status1 z) P  ?3 V6 P5 C% c# y/ R
  16. in the TeamSpeak forums if you are interested.
    1 Z) x/ I# ^+ w. j% a1 `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 M/ X' Z- [& J  H" }0 q: L' X4 |* e
  18. Borland was used. This driver can only interface with the client library that 7 l  z, P$ ^" U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 r  y; r: \1 ~
  20. client library - basically all you have to do is to use a 3.x client library as
    # i1 e  N* z' s: n0 c1 E
  21. "VendorLib" and a 4.x database to connect to." F1 X# U5 }/ k4 V
  22. If you need more info about dbExpress, you can contact Borland.
    7 x* A. R! P. j  a+ N/ P; Y/ {6 c

  23. 2 J! C) P5 @) a  N
  24. ### Doing the work ###
    # s, d/ h5 s: r/ q5 J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 o& D6 F5 X( K, \. d
  26. the perquisites right, just open your server.ini file, and add this section at" z. f9 P$ j2 `; C
  27. the end:' c4 w9 h: L# h+ `5 o
  28. ---cut here---3 j* f3 W4 b8 b7 t! s* m# t
  29. [DBEXPRESS]
    ' I3 z) h5 E4 \6 J9 U* m5 m1 a
  30. sqldir=mysql_sql$ }, g  C7 R# h' F
  31. Drivername=mysql
    2 U  w* V# S! |7 e/ Y) ^+ c
  32. Database=Your_Database_Name_Here. ], g: O2 z5 d2 S" N2 W
  33. Hostname=The_PC_the_MySQL-Server_is_on* H2 T6 p/ G' G) }3 ~! w
  34. User_name=User_name_on_the_MySQL-Server/ n4 f8 p9 f5 z, l% N2 |4 c
  35. Password=Password_to_go_with_above_user_name
      H0 {  Y* M8 W  o/ }
  36. GetDriverFunc=getSQLDriverMYSQL" h1 C/ a# Y# v) v" ^& {* y- a0 n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * w+ O) Z9 z9 j
  38. LibraryName=path_to_libsqlmy_libary
    $ K  ?" o6 r- T
  39. Active=1- Q2 K- f0 [! _5 J( |# E
  40. ---cut here---! y$ [$ i" F4 N
  41. In my environment (a linux box with a MySQL server running locally) I have:1 b8 ]! X3 b/ B4 h( q
  42. ---example---, K" }3 r6 w% t0 ^8 P3 u
  43. [DBEXPRESS]7 ]4 H' N: {) m- b7 ]
  44. sqldir=mysql_sql
    ' T+ S6 `. E; K8 _' y: s/ b8 A
  45. Drivername=mysql% }& ?) z9 F: Y! u& x
  46. Database=test
    5 K4 N; ~, {+ r, B$ {/ l' F
  47. Hostname=localhost
    5 A! o3 k/ {1 {6 C! D" n8 K  B; @
  48. User_name=testuser8 B0 e$ @" J5 T6 ~7 l
  49. Password=my_password
    ) T% M! b9 Y( |5 C, p) A- r- Z
  50. GetDriverFunc=getSQLDriverMYSQL
    * a/ _( y  C( Y1 R+ o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 b& g$ p0 ^& u9 e- S2 B
  52. LibraryName=./libsqlmy.so
    ; D& \5 x4 i5 h! y, s2 C. S
  53. Active=1/ ]* w; O* i$ J2 O
  54. ---example---1 r8 I! E: V4 V5 X6 u8 ]. [
  55. 0 z! B$ Y8 u  P4 W& k8 l% a) T
  56. On a windows box, also running the MySQL server locally, it would be:
    1 P" S. y: E9 V1 h% D
  57. ---example---3 |9 y8 ^& P( W( E  S: ?
  58. [DBEXPRESS]
    % j' p& R" `0 E4 b8 [' ?- z
  59. sqldir=mysql_sql
    8 y8 w6 J3 u9 k2 F2 A  H9 r, i
  60. Drivername=mysql+ r6 k- e  h0 ^  ^) U+ e7 E  U8 ~; B
  61. Database=test) U/ g. Z, ^& i8 K# v
  62. Hostname=127.0.0.1
    6 ?; q; C5 u  T# S' u
  63. User_name=testuser  H/ }- r0 P2 U3 g: V3 N
  64. Password=my_password  H) D/ i$ q% }0 Q2 E" ]
  65. GetDriverFunc=getSQLDriverMYSQL/ K, b# A! T+ q5 J( K6 c
  66. VendorLib=libmysql.dll9 M1 Q# _# M6 k/ {$ p
  67. LibraryName=dbexpmysql.dll
    / Q6 K1 M' M& g: D$ B! b5 y' I* s2 i
  68. Active=18 u. o1 I7 D" [
  69. ---example----
    ; g, c) ^7 \' r$ v, X
  70. - written 02.03.04 by pwk.linuxfan
    1 E3 W  a# Q) O: L$ {1 L1 Q+ D) ~

  71. " E; [3 `* c- [
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" F" D# M5 A5 P
  1. 9 I! `7 M! e4 i# K6 O) w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 l4 D8 S: O4 x' T5 y: v1 [% s

  3. * ~* g. G! ?* I; l. k
  4. # # #我们所需要# # # & J0 j% N% b) ]/ q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! V' E, N& ^% H( p) W) N" l. p# d
  6. 不会解释如何做到这一点-也有文件存在,为
    3 X6 w, ?' R$ n- @& y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: g  U! q+ F9 \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 Z# J! d# H- k* W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * L; z7 Q: ~0 @) c, L# W! A
  10. 本地机器,这是我的MySQL安装。
    6 U0 ~5 r# P0 T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / M" b9 w8 r/ \: S3 t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! D+ F! O; |- D2 s5 G$ ~
  13. 数据库。 * D5 |% `: U5 S' v: v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ J% N/ q4 O3 {8 f1 n2 O4 f% Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状. [* z6 j7 T- T. ^) O
  16. 在teamspeak论坛,如果你有兴趣。
    ! g; u! p* x% Q1 X3 a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ Q9 X; X) @% @# a" K+ _
  18. Borland公司使用。这个司机只能界面与客户端库: V+ L: Y$ J! _$ A/ z! w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" U: y- j7 H4 S3 x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 o7 {8 u$ h0 ^. J( q
  21. " vendorlib " ,并解数据库连接。
    , b3 j. p% T. l6 ?4 g5 V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 Y4 A" h. b) X

  23. / c( B$ O; ^9 i
  24. # # #做好工作# # #
    . ~- N3 p6 H/ M4 s4 Q, N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  U* D- d3 ?  K8 c- c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 P* W: o4 e$ k9 I" o
  27. 结束:
    ' R! F% B2 E& R* \
  28. ---削减这里---
    " i( E) m1 O4 p8 r, k6 z. m# v
  29. [ dbexpress ] ; [. J9 e8 @% Q
  30. sqldir = mysql_sql % ], q2 o# E7 v, J3 ?% V
  31. drivername = MySQL中
    ) w$ t' i) l( \7 j* `
  32. 数据库= your_database_name_here % {2 |% Q  L& {
  33. 主机= the_pc_the_mysql - server_is_on   l$ |: ]/ c2 s% o/ T  G
  34. user_name = user_name_on_the_mysql服务器; ^& p( z0 i2 E4 Y
  35. 密码= password_to_go_with_above_user_name 2 _* @, v6 |7 n+ a
  36. getdriverfunc = getsqldrivermysql
    / a* Z" i7 G& z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 ]9 _6 A4 g" e2 L
  38. libraryname = path_to_libsqlmy_libary : M* \) Z' `! e6 {
  39. 积极= 1 ' P# l( w+ a0 Z; A* G# d$ ~
  40. ---削减这里--- : ]+ [7 f  f# {# J5 j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & O. `! J- h5 ?2 S- O! S6 h
  42. ---例如---   y' Z9 p6 i  s: ?) Z3 j
  43. [ dbexpress ]
    ; x. ?+ g3 T& x' `$ S1 C
  44. sqldir = mysql_sql
    7 L) w5 v2 @9 }
  45. drivername = MySQL中# _) l; l! ?$ r1 f' Y2 |; u
  46. 数据库=测试
    & E6 T4 g5 I0 a% I% F
  47. 主机=本地主机. N0 I; @9 e9 f: _& e  g
  48. user_name = testuser 4 f  C5 [' ]* G& S9 X
  49. 密码= my_password
    ' k, L4 _$ _! O2 W& c2 i# \
  50. getdriverfunc = getsqldrivermysql & l1 z# z6 J: ?! N' O
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / S7 ~8 ?; K4 t+ `6 T
  52. libraryname =. / libsqlmy.so
    4 W& ^- W; ^+ j+ c
  53. 积极= 1
    ! \% s) n- B+ M7 z# c
  54. ---例如--- 7 {! T( |) u. d: v2 _$ N" r

  55. 2 s3 l; M. p7 `+ r0 j* Y2 t; i
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - F! S( s+ @& Z1 p) _
  57. ---例如---
    : f0 N  I8 h: a7 a8 D
  58. [ dbexpress ] $ U$ }- s6 v% q5 L( p$ u
  59. sqldir = mysql_sql
    ) \+ A7 W( Q0 K8 A' U
  60. drivername = MySQL中
    & r5 @% `  w2 k$ ]% I2 p( h
  61. 数据库=测试6 Z6 ?( m8 \  q0 ^
  62. 主机= 127.0.0.1 1 `) h' _" C8 [7 T' M
  63. user_name = testuser / u& [3 t" I, J
  64. 密码= my_password
    8 k1 y- _; `( H4 I' N" V+ w3 a& v
  65. getdriverfunc = getsqldrivermysql " ~' V4 [' U* D6 H) _
  66. vendorlib = libmysql.dll在. J+ ]# k2 W  V9 C
  67. libraryname = dbexpmysql.dll
    ) @4 q$ l2 @( G* D) j8 C7 b
  68. 积极= 1
    - z' H- Y1 F3 C& `
  69. ---例如---- ; O- o* a6 @0 B1 J8 \
  70. -写在0 2.03.04由p wk.linuxfan
    0 R- a' `+ `* p
复制代码
发表于 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( T" B: ~( L9 N3 V3 m+ [, m3 }9 F% g
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-29 12:34 , Processed in 0.087935 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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