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

2875 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : I& C9 v+ \- A- q
0 o, N9 w" X$ _4 i7 ^# k+ D

  1. , @0 U( j) d6 G/ G1 D+ Y; J9 ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 r' _/ C! f' z6 p: h

  3. 5 F' H& |; C# c- A" l$ u( ]' N5 N! f+ A
  4. ### What we need ###
    * y9 o" C9 e! _4 h' L/ W
  5. Naturally, we will need a MySQL server to store the data for us, this document ! m; m0 o# _+ \7 j7 {2 K
  6. will not explain how this can be done - there are documents out there for the
    & @% ]. U. a# N* K! i! r2 R% ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * q. h2 W( i) s* ^- _
  8. and a user account (username + password) that has the permissions to do stuff
    . n- J7 `. N( n/ x( [
  9. with the database. Additionally, you will need a vendor library installed on the' r4 `" a1 x6 n2 K% ~
  10. local machine, this came with my MySQL install.5 H* @$ l. \4 g8 C
  11. These instructions will not tell you how you might transfer your data from the$ I6 n- P! ?* u' F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; F" X3 _5 M' \# h7 m$ y
  13. database.( i% @9 g% V. {4 ^9 s
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 ^$ g  a  k2 C+ D; u* F
  15. the time of writing, there are still too many issues - check the current status
    ( v' h2 Y1 `5 A
  16. in the TeamSpeak forums if you are interested.0 e; A2 k) q' [. D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 l% Z: o0 {% x6 J$ _0 g2 ]
  18. Borland was used. This driver can only interface with the client library that
    + ]/ |+ Z+ g6 `* t- P+ T0 s3 o% a/ G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 U2 X7 {/ \( |
  20. client library - basically all you have to do is to use a 3.x client library as 8 X) ~0 ?6 s# P/ A9 v0 K
  21. "VendorLib" and a 4.x database to connect to.
    ) p! u7 \; ?2 J6 W0 H# e
  22. If you need more info about dbExpress, you can contact Borland.
    * q7 h6 p  u9 ]

  23. % e* @% j3 R+ z* ?, l& K" D
  24. ### Doing the work ###
    2 A) h7 r* \2 e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / s' V) R; s+ z: b3 e8 R& R
  26. the perquisites right, just open your server.ini file, and add this section at  C2 v0 x7 I4 j8 F, C; @/ n
  27. the end:2 _( d" b) A* A8 J/ c6 O" H
  28. ---cut here---3 _4 x9 _' O# d5 h; f4 A+ S0 ?
  29. [DBEXPRESS]3 ]% M: T, }2 p  e- ?7 g( Q
  30. sqldir=mysql_sql
    ; g  P  K( y1 P
  31. Drivername=mysql
    4 W5 p& J8 c  a" Y" }
  32. Database=Your_Database_Name_Here
    , P2 X. `" C0 Y1 {2 |- P  O
  33. Hostname=The_PC_the_MySQL-Server_is_on1 x3 p, ]+ N* S+ L1 T
  34. User_name=User_name_on_the_MySQL-Server2 R  K+ a/ x9 X7 P3 r0 ^
  35. Password=Password_to_go_with_above_user_name
    ! X5 x2 F. a7 G( Y7 l
  36. GetDriverFunc=getSQLDriverMYSQL
    ; `7 a; l! l& R3 J6 Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) V" M. `8 o  @0 n
  38. LibraryName=path_to_libsqlmy_libary
    ) k- {4 c# u8 m! ^. D+ k5 V
  39. Active=1
    - O1 ~& O- S& H
  40. ---cut here---
    8 z# }9 h; Q( Y# e/ B" \! H0 o& n
  41. In my environment (a linux box with a MySQL server running locally) I have:3 f- [5 ^6 |  ]3 e/ j8 [* n4 u  A
  42. ---example---+ a  ^7 r6 H( K9 L7 [7 S" U! M
  43. [DBEXPRESS]+ a8 {% ]7 ^+ W
  44. sqldir=mysql_sql
    ) J8 z) o. R5 N. [2 V1 I; \
  45. Drivername=mysql
    $ e- O( Q# U- a6 k5 ]
  46. Database=test
    7 C; h7 e! p+ C$ _7 X- b
  47. Hostname=localhost" R3 _' ?1 Q/ n4 n( r
  48. User_name=testuser* q, _/ o( [+ _" `5 _2 U
  49. Password=my_password: I% K! l) Y9 q1 n
  50. GetDriverFunc=getSQLDriverMYSQL0 N6 G! i$ z% T+ z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 q9 o3 `% D- I$ k) \/ z
  52. LibraryName=./libsqlmy.so% s, T( K( q( S7 E# {1 M
  53. Active=1
    $ ^1 x5 v: c# |$ T1 c
  54. ---example---
    - Y; L: N+ g* _" K: }- u9 d: K4 M

  55. ) y+ `0 b( m/ G8 W+ x' b! i
  56. On a windows box, also running the MySQL server locally, it would be:0 I: d3 L2 p2 N9 F  {, `+ g/ J& x+ Y( X
  57. ---example---
    7 j0 X2 B$ `" e4 k; D6 s( y$ W
  58. [DBEXPRESS]1 Q9 M& V) D- w6 J& d
  59. sqldir=mysql_sql* u8 G% X* d% G# s- R1 n
  60. Drivername=mysql7 x. K0 x6 z! b# K
  61. Database=test
    8 o9 }9 N5 O$ Z7 p6 q) k
  62. Hostname=127.0.0.1' L9 I" N+ e' H
  63. User_name=testuser
    ! B2 \! {. V) e" x9 m/ Q
  64. Password=my_password
    / T' Y+ S: N# \* ]8 f' M  ^) s
  65. GetDriverFunc=getSQLDriverMYSQL
    2 t8 C8 D2 f' h# B$ \2 t' B
  66. VendorLib=libmysql.dll* X* ^6 m3 C& t  j1 F8 J0 [
  67. LibraryName=dbexpmysql.dll% B$ k: f9 b% a5 ]* c
  68. Active=1
    2 T% H( N5 c, V: O0 b1 b1 H7 |
  69. ---example----4 L! F3 X( w; b7 w
  70. - written 02.03.04 by pwk.linuxfan& c! g1 _3 \# N8 @# l  J2 j9 ^3 g* x

  71. 3 X3 K2 ~  D& `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ q( D7 Q+ a- `& `1 N& M0 l
  1. & Q4 r. N) S: X% h) z7 N/ ]1 e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 {+ W; J; k/ q7 b
  3. ' C* c: f, {! |- P5 I( n# k1 T# q
  4. # # #我们所需要# # #
    + w4 ~/ c5 V2 P. k, U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ O  t3 P) T' V( L4 m# H0 d7 f$ x" `
  6. 不会解释如何做到这一点-也有文件存在,为
    ) C% W' H3 k1 e# @$ G# j* ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; b) y, o* w1 V- w  W  N, e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 K$ b' J0 O* m# P, u
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 R( f1 i/ A" P: j7 D. U
  10. 本地机器,这是我的MySQL安装。
    ( D% ~. |4 M9 Y* F4 ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 t; w2 h1 d& c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   _$ ^9 e9 l& S+ {5 q' |' D% n, K+ c
  13. 数据库。
    - R: m& |% `7 ]( `% J# U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 d/ j6 T$ w6 l* r! z- i* l
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . v% b- J7 n* m3 c+ z5 ?
  16. 在teamspeak论坛,如果你有兴趣。 0 r/ R& f4 h3 Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 X+ I/ n% w& A2 v8 M
  18. Borland公司使用。这个司机只能界面与客户端库0 Z% g( C. C5 z2 `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 ?' Y  F2 {0 r2 v( Q: t# x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% U1 l/ s8 N; c9 P
  21. " vendorlib " ,并解数据库连接。
    ( L. {) O) V# z5 E. o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ r" `2 x1 d. M' f
  23. 9 X) u# p9 [) Y- F6 z6 L0 S+ v
  24. # # #做好工作# # #
    & p; Q3 ~7 Q7 j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' U0 ]! _0 H+ C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 X4 {7 v$ F/ M- {5 A! _
  27. 结束:
    $ B6 g4 F! H& u( m0 K
  28. ---削减这里---
    & ~" p3 Z. I0 k. E6 L8 i" M
  29. [ dbexpress ]
    - Y6 @2 X8 Z% L6 b8 C% h9 q
  30. sqldir = mysql_sql
    9 I3 g" q3 U! v6 C9 E3 H. l3 n
  31. drivername = MySQL中
    ! @1 K6 w. F$ M1 |9 y8 L
  32. 数据库= your_database_name_here
    3 F, O8 O' U! |
  33. 主机= the_pc_the_mysql - server_is_on & {! ^: j$ `  j8 v) U
  34. user_name = user_name_on_the_mysql服务器
    / u9 \6 X$ @5 O0 N% X& }
  35. 密码= password_to_go_with_above_user_name " ]1 `0 G* N$ ?* ~1 M
  36. getdriverfunc = getsqldrivermysql 6 N+ l# `( ?6 i& P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) }: h2 l3 z- s4 f) u  w; W1 n
  38. libraryname = path_to_libsqlmy_libary
    4 _. j$ R. z- t! t
  39. 积极= 1 4 r% P" s; w' v+ A8 v
  40. ---削减这里--- 6 W9 k4 A7 G. g5 B; c2 B7 [9 T9 T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 f( i2 o% c5 a2 m: j7 M" {3 r
  42. ---例如--- 6 ]$ q2 C/ ]1 P
  43. [ dbexpress ] ; E$ W9 I' q% S0 D2 x5 u
  44. sqldir = mysql_sql ' G- o7 Y1 i4 W. R
  45. drivername = MySQL中5 t5 E: t. P3 c( H1 \; m2 o3 H
  46. 数据库=测试1 }: W, ]8 _/ Q: r, A+ @/ p( P3 H
  47. 主机=本地主机
    3 k$ z* X/ u$ F
  48. user_name = testuser
    * [4 e7 y1 W3 T. q6 ]2 A6 D5 ^
  49. 密码= my_password
    . j4 A; x5 D  e" c' w& A& |
  50. getdriverfunc = getsqldrivermysql 1 V! I# h8 {  |, }# [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 B! s7 E. l, |8 l
  52. libraryname =. / libsqlmy.so , U) t* B  e# k4 f5 E7 F, y0 B
  53. 积极= 1 ' m5 S# Z" `. m/ q6 A6 |
  54. ---例如--- 3 [( C  ^- R. N, Q: i: G
  55. 2 J* _& |; L8 W. Z" f
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    7 Q: s4 L9 e1 b) v8 `
  57. ---例如--- ) b1 H4 _2 W9 G/ O7 l2 g4 W
  58. [ dbexpress ]
    ; L8 I' q5 c7 e5 z) _# N
  59. sqldir = mysql_sql
    ; T1 t8 j$ C* k
  60. drivername = MySQL中! ]$ Q/ U2 o1 y0 ~& x0 {5 p, Q
  61. 数据库=测试
    0 x1 d. ]7 n- t# P3 R5 g2 Y
  62. 主机= 127.0.0.1 ! H+ W4 T+ N0 a" E5 `9 ^
  63. user_name = testuser ! r5 [  E/ n2 u* X5 T7 L
  64. 密码= my_password
    ; a) \5 Z3 S0 ^. c0 }" f5 ]
  65. getdriverfunc = getsqldrivermysql
    , Q5 [& l# z- N8 s
  66. vendorlib = libmysql.dll在0 A6 X' v. f6 ]* k
  67. libraryname = dbexpmysql.dll % w" |) c' m  U3 |' L3 C- U7 ~
  68. 积极= 1 5 L1 ]$ j$ }) h7 _: @- ^7 g
  69. ---例如----
    3 a- A1 C& B% b6 s
  70. -写在0 2.03.04由p wk.linuxfan! s+ G, S& D% R, y3 c- F5 I
复制代码
发表于 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
+ G4 Q: y0 v0 [3 }. Y3 ~5 v( \/ \$ h2 {! C: E8 V
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-11 07:33 , Processed in 0.116356 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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