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

3271 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . ]5 `% t6 j! a
, z: x: y  {5 I
  1. " R! I; s  j& x! N' j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 @; ^6 ]9 z: k) S0 R
  3. 5 k; v! v* R' }2 J
  4. ### What we need ###4 i9 P) @# y7 [$ B* d
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , l- W0 Q7 |" h* @+ d. T) l
  6. will not explain how this can be done - there are documents out there for the $ M$ ^/ ?: h- k
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      t' _2 V7 k$ S- l7 |0 F* R
  8. and a user account (username + password) that has the permissions to do stuff/ j+ o$ p: [  v! e( U1 x# v6 B
  9. with the database. Additionally, you will need a vendor library installed on the
    1 K+ A% _. J* M# g  y3 U' }+ f
  10. local machine, this came with my MySQL install.
    ; m* m/ o- u2 ^- E+ P0 z. j8 c
  11. These instructions will not tell you how you might transfer your data from the5 C3 i/ C$ @' m6 g0 {) ?- I+ u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . j- u3 }, o, r$ n! k* z1 J
  13. database.# @' \6 E7 X/ z/ `6 a1 c3 m7 ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 t$ a+ O( Q3 p
  15. the time of writing, there are still too many issues - check the current status4 K. Z9 n1 u/ x6 h! i$ S" W3 c
  16. in the TeamSpeak forums if you are interested.( n8 Y, O" k, M3 x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    # P% \! |5 q8 J6 [# T8 D# l8 M
  18. Borland was used. This driver can only interface with the client library that
    - j$ p5 Y( P1 b$ L4 N; P5 y1 F" I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 m  {0 b9 x3 I
  20. client library - basically all you have to do is to use a 3.x client library as
    1 v1 ^: {  V: }2 C$ x" @
  21. "VendorLib" and a 4.x database to connect to.& T) {: b) q/ q7 y' h! i! v0 E
  22. If you need more info about dbExpress, you can contact Borland.9 e/ N( J8 ]' G! B- E% l
  23. ' d  G7 M- q+ A: M8 f, Q) h
  24. ### Doing the work ###
    * p5 K2 S, p& t" U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; b6 g! R& z6 }+ w8 t. l
  26. the perquisites right, just open your server.ini file, and add this section at, R2 q6 x8 v- d1 O% S; I" ?
  27. the end:# D7 W" k' l/ C$ r
  28. ---cut here---0 f' n5 j9 s0 Y0 X5 O  x) k+ x
  29. [DBEXPRESS]
    ' C" @; f. }$ s. S2 r& \: Q; c& T
  30. sqldir=mysql_sql6 ^; J2 c# v8 k8 i# T
  31. Drivername=mysql
    ! N0 h" S  L0 `! s* @
  32. Database=Your_Database_Name_Here
    ; X: O6 i, V4 z; J* Q7 J' Z/ ?# K
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! o+ ~# C! ?  Q# @
  34. User_name=User_name_on_the_MySQL-Server+ @! d+ h7 t1 k) |) v
  35. Password=Password_to_go_with_above_user_name0 b% J+ J. M0 ?% T
  36. GetDriverFunc=getSQLDriverMYSQL& ]+ o+ R0 R+ ?3 F  ~' X! Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 ]; Q8 \6 x3 ]6 s% v' ]) V
  38. LibraryName=path_to_libsqlmy_libary
    0 A  o* P  g( N2 u
  39. Active=1" ?6 C' ~# ]& h3 v; V( {
  40. ---cut here---
    4 S0 n! J/ H: g# b
  41. In my environment (a linux box with a MySQL server running locally) I have:0 o5 }, G% ?8 O
  42. ---example---
    8 [) g  O) `3 }" `
  43. [DBEXPRESS]8 L$ X8 Y! L7 e' u
  44. sqldir=mysql_sql
    * C- o/ h! c6 S% F" ]$ |9 C
  45. Drivername=mysql" U' d2 k3 f5 z
  46. Database=test# R8 v- \. n! Y: _2 Q
  47. Hostname=localhost1 l# h' I0 q1 M$ Q
  48. User_name=testuser( i/ j8 ?' i9 h8 o
  49. Password=my_password$ R# f3 X6 h* }
  50. GetDriverFunc=getSQLDriverMYSQL
    / V9 V7 F& W/ k2 g2 U! _4 i. k
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ z5 a/ W2 `# o  n
  52. LibraryName=./libsqlmy.so+ y9 N' H! D8 B) `6 y1 O7 ]
  53. Active=13 M6 @& i. k2 A
  54. ---example---
    # v' i* S% b+ ~& }  i3 ]
  55. 3 S; i6 D( D( u, Z; X
  56. On a windows box, also running the MySQL server locally, it would be:
    : z; |4 R: V5 e0 `/ p7 [. n
  57. ---example---" w1 S8 q) R  A* |
  58. [DBEXPRESS]
    6 A1 N" [: Q% X/ h' t; k
  59. sqldir=mysql_sql
    5 N* y; f1 l8 n( H/ L+ m! a
  60. Drivername=mysql
    . G, A' I4 R7 i. W7 a( s0 I
  61. Database=test
    ( K" |' C9 p9 J6 y# z" e/ g
  62. Hostname=127.0.0.1
    . e- v) U/ z  P
  63. User_name=testuser
    ) W5 V! z  C, e
  64. Password=my_password- O5 f  x! N+ O. {* X
  65. GetDriverFunc=getSQLDriverMYSQL
    1 M& k, i4 h8 R* A
  66. VendorLib=libmysql.dll
    $ Y( s+ B/ G" H) y' W* l/ w$ `
  67. LibraryName=dbexpmysql.dll: ?5 p& g; X5 c8 I
  68. Active=1$ Q6 w7 A* f. B& e/ n& ?
  69. ---example----0 _$ E5 k- D) u% n0 [5 T  P. r
  70. - written 02.03.04 by pwk.linuxfan
    6 D) y5 H5 w0 h5 X' B9 S# J' M7 E' P% [
  71. ( r" t1 j' N$ W/ N6 E* p' a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 ?  J% n* Z# l- E  G+ s
  1. ! T+ S1 R; w+ ~6 ]; Y5 z( T! K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * {5 K" R3 A  f4 t: [7 b

  3. ' c) Q8 Q9 `0 |% Z# W/ l2 V3 ]5 Z
  4. # # #我们所需要# # #
    9 G- B  I8 N2 L# _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 K, _$ I% I1 k9 l$ P; p) t
  6. 不会解释如何做到这一点-也有文件存在,为
      H& I  R6 {# B
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 G5 t3 g, W! E" w7 g% _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 |" k2 B( E( x- L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( x/ [7 F+ Q# t; i
  10. 本地机器,这是我的MySQL安装。 , x5 K) j# `+ ^# H; R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 h4 K9 |  ^* v0 N+ J/ z5 I$ O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 @( j9 c. m$ |
  13. 数据库。
    & k* r9 @0 ~# r. b; m8 v) y! B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % X1 r  R, R$ u' X. L1 A
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ `! w+ O& ]( \2 s7 R9 S8 J
  16. 在teamspeak论坛,如果你有兴趣。 : A% |' l( R0 W8 V( o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 l) Q- Y  Q" \: I
  18. Borland公司使用。这个司机只能界面与客户端库
    8 t" ?7 X: Z7 E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: d7 J! E* w! j, B" x" z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* y1 Y- k, b7 \) {# ~
  21. " vendorlib " ,并解数据库连接。
      y$ O9 n0 O% D9 |- O, H; J4 e3 M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 U/ P! K, L) R( e9 }

  23. , G$ L* Z0 b! s+ o
  24. # # #做好工作# # # . S' Y" o: @2 A) p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# J& c* u1 h' n# h' l# s7 i6 V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, n8 Q$ C$ F7 P# r- v6 j
  27. 结束: ) n3 I/ Z3 j- D8 g. Z
  28. ---削减这里--- , g! d( V& H2 e* ~2 \
  29. [ dbexpress ]
    0 ~' D; _8 p' ?* X2 w- U
  30. sqldir = mysql_sql
    ( a2 e4 g+ L) C2 m( t, X& Q  z
  31. drivername = MySQL中
    2 J6 m+ l; F$ _  C8 `2 ~, q
  32. 数据库= your_database_name_here
    - C- F2 W6 C( b  ^
  33. 主机= the_pc_the_mysql - server_is_on , v6 I8 M/ O) A6 f
  34. user_name = user_name_on_the_mysql服务器
    , A5 j5 G: n: L" x. O/ w8 ?
  35. 密码= password_to_go_with_above_user_name
    3 f4 _% c- N/ v) j; }. V
  36. getdriverfunc = getsqldrivermysql 7 B5 \( ^  y* _; e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , N$ ^  Z& M) J+ I- l
  38. libraryname = path_to_libsqlmy_libary . ~& J; g' L" M& y/ c  i
  39. 积极= 1 " H3 ]7 s% p. v$ F' T- F+ t' R+ F
  40. ---削减这里--- 6 F/ s/ t( F2 L' Z) G! @
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . Y7 K' t1 H7 v, l8 M: L% S$ P
  42. ---例如--- ( v0 v# H0 o: g8 k' w' n* b' `
  43. [ dbexpress ] ; m, M) [' F& ?# l
  44. sqldir = mysql_sql ( M0 `# a! a3 `2 N
  45. drivername = MySQL中" d) @3 Y9 ]; E; J+ O! ~" u2 ]( D
  46. 数据库=测试# g0 m8 M+ ?+ l( \3 M: {
  47. 主机=本地主机3 f+ K% N% Q# @) z  k
  48. user_name = testuser 1 J* \0 F+ r. m; b: ^. d0 Y: L% |
  49. 密码= my_password
    - D0 G; M. P% e$ [6 Q: [
  50. getdriverfunc = getsqldrivermysql ) u0 W$ `' |- }% H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! h0 v5 O3 N+ i+ R4 E) D
  52. libraryname =. / libsqlmy.so 6 R. }' V, [* a- b1 w
  53. 积极= 1
    6 \3 n. _+ l2 f! L; c
  54. ---例如--- ' G" C. F2 P# P3 L, [) h* ]
  55. , J. U) b: j& `# Q) t
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . r$ G% D/ |# ?5 |- m! {, Q
  57. ---例如---
    ; Y& d+ h% z- y. {  W( v! n
  58. [ dbexpress ] 9 f( U2 V9 N$ k  ~
  59. sqldir = mysql_sql 8 v0 m8 T) N* g9 ?5 Y7 i
  60. drivername = MySQL中
    ' d+ r# S& V- \1 c2 z1 M
  61. 数据库=测试
    / W$ w4 c& N, U: v  b8 V
  62. 主机= 127.0.0.1 % @3 F/ ]( C0 p* v
  63. user_name = testuser
    5 P6 d( L: u% C; i
  64. 密码= my_password % y9 u9 z" P* C0 z/ V
  65. getdriverfunc = getsqldrivermysql 4 X0 U& c; H' _; n( y4 @
  66. vendorlib = libmysql.dll在
    4 `+ m7 [5 e: @2 Q% X
  67. libraryname = dbexpmysql.dll ) y+ Y' z) u5 x% C6 h4 t- H) g5 D
  68. 积极= 1 : v- V1 g/ _# k% D' k/ F  K# x; X* v
  69. ---例如----
    6 Y) h! `7 _8 K; o* Q3 I
  70. -写在0 2.03.04由p wk.linuxfan
    * Q2 ]6 d: A! ~3 o$ k3 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 words1 m# ^& A9 m8 M* {
. F0 y: E8 X5 v+ y& z2 {
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-1 15:36 , Processed in 0.102667 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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