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

2977 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * x$ y6 @7 Q7 t2 D/ Z' k  W: ~

/ D& m+ u+ n( k3 l& W0 X+ g1 _# E
  1. " r5 U5 _* J+ {8 b6 r0 t0 `: e  t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) \$ k, @/ G4 b
  3. 1 n: n; J0 T. e- l' I
  4. ### What we need ###4 T0 v' V# o6 n, I: g/ S) k5 P
  5. Naturally, we will need a MySQL server to store the data for us, this document % a/ H. U) J: ~# s
  6. will not explain how this can be done - there are documents out there for the
    ) m4 q$ z5 Y+ f1 H7 p
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) i% j. M$ M1 m8 \
  8. and a user account (username + password) that has the permissions to do stuff
    # i6 Q3 ^. d) v' J7 }( B7 X0 i9 h
  9. with the database. Additionally, you will need a vendor library installed on the' ~' z0 g$ }8 `: u$ v
  10. local machine, this came with my MySQL install.- ^/ I+ P3 u1 m1 k( a9 m' C
  11. These instructions will not tell you how you might transfer your data from the* g7 V! K4 p8 ~2 H- `4 P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 ^  ?8 P2 G$ x' m
  13. database.
    9 H4 Y  B; H# v" \" {7 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( t! Z( _+ K3 o+ N, a
  15. the time of writing, there are still too many issues - check the current status
    3 J7 s( B1 r2 @
  16. in the TeamSpeak forums if you are interested.
    ; P; X. L" Z4 \( a# J- C0 _. a1 _
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) T# n% j! {0 b# M3 D
  18. Borland was used. This driver can only interface with the client library that
    $ `+ }' t/ y: d. d& p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" B' |" I9 D& ^- [! c
  20. client library - basically all you have to do is to use a 3.x client library as
    7 A* X* M, `5 T* X# q* R; D
  21. "VendorLib" and a 4.x database to connect to.# l3 _+ h7 `7 A$ z3 s0 J
  22. If you need more info about dbExpress, you can contact Borland.
    ( L+ R9 V$ u( ]3 ~2 r; e4 K
  23. * k5 j7 A/ U9 j. F) _% N; a9 P
  24. ### Doing the work ###
    $ e& `/ s1 v! T2 @4 L& E3 m* E7 d8 V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 v. l: v$ I( C
  26. the perquisites right, just open your server.ini file, and add this section at
    5 c2 L1 ~( }3 A# W; ~. s
  27. the end:, ?  u9 v9 j" \+ f
  28. ---cut here---! j9 \& A* h0 I4 v: O
  29. [DBEXPRESS]
    & X' y) l( v+ q; u+ u
  30. sqldir=mysql_sql
    + X9 Z/ M; e; E+ M/ ?
  31. Drivername=mysql; n: y6 {2 V! f, k! }' }
  32. Database=Your_Database_Name_Here4 Q0 b; k. R  r6 K
  33. Hostname=The_PC_the_MySQL-Server_is_on1 k7 X7 u1 t7 `" M6 I
  34. User_name=User_name_on_the_MySQL-Server
    3 e1 F7 ^; H4 _: n
  35. Password=Password_to_go_with_above_user_name
    . y; [$ Y7 t2 e0 b5 r; W8 i/ r# u
  36. GetDriverFunc=getSQLDriverMYSQL
    0 b5 G$ X8 I5 }; q3 O$ D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 B2 n- {1 I0 @+ Q# B; {/ C( `
  38. LibraryName=path_to_libsqlmy_libary9 p* v, _' J" F' o  A: y
  39. Active=19 c$ d3 ]7 I: m3 h6 ]5 ]
  40. ---cut here---
    ( i; H' c5 @3 q& W" z1 f- `
  41. In my environment (a linux box with a MySQL server running locally) I have:6 e& r# s3 G, v1 k% c9 H. ^
  42. ---example---: `5 ^7 L: L5 g6 B+ @5 F" D2 g
  43. [DBEXPRESS]
    . i/ y' y3 A5 H' H  g1 S
  44. sqldir=mysql_sql& v" c* I2 y, I0 J( P
  45. Drivername=mysql4 W2 e% n9 K# A, I2 d* |' X
  46. Database=test% Z- g: O9 f) @3 z" {
  47. Hostname=localhost
    6 Q; |+ ~2 s2 K$ s0 n/ S
  48. User_name=testuser4 x0 c. o1 P4 J. `
  49. Password=my_password
    + b: C8 K1 E# O$ ^. L
  50. GetDriverFunc=getSQLDriverMYSQL
    & L5 p( y" Z+ _3 h  {$ S! P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 c8 U- T# L9 N9 m, R! b% P) {: W
  52. LibraryName=./libsqlmy.so
    : `% _9 g8 X, |% ~/ z
  53. Active=1
    - W: S; b, g" k; d$ {  G; m% b
  54. ---example---
      L9 }. O; R! F. `- H
  55. & m: Y' F" z/ i2 E9 q9 x
  56. On a windows box, also running the MySQL server locally, it would be:
    4 R/ I/ {$ O* D! ?$ V; T; h' ~
  57. ---example---
    / F) ~- H" v& e' U& v0 C
  58. [DBEXPRESS]
    - R0 n' @6 `+ g/ p+ _0 W
  59. sqldir=mysql_sql4 E8 ~: [  _( Y" d4 W
  60. Drivername=mysql
    ' [; G, t5 l8 _3 {
  61. Database=test
    ; s1 u8 S, b$ N6 @
  62. Hostname=127.0.0.10 Z% N# z6 |! Y2 p2 D
  63. User_name=testuser; a, L* Y' T, S# e  ]1 T
  64. Password=my_password* i  U8 S" t- Q/ ]9 C
  65. GetDriverFunc=getSQLDriverMYSQL+ u/ ~, ?* N& X3 s$ T5 X& D  X
  66. VendorLib=libmysql.dll
    . a& P! L, n" _$ x$ i- N7 A
  67. LibraryName=dbexpmysql.dll
    ) R7 C) C1 z2 Q# U
  68. Active=15 @* H" d5 a8 k0 M. Q
  69. ---example----7 a- l7 d: I: }! m
  70. - written 02.03.04 by pwk.linuxfan
    , x6 s. x9 @5 z; W0 o; U. X

  71. 6 T! Z+ n# F$ J3 i0 R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* \6 y# f' g' j+ y' e& S% L7 U$ \

  1. 7 [! m* J  ^* i" W; E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / ~3 H$ G( W8 P! F/ O( L. [
  3. & U% [" x* J% U# N4 i% {
  4. # # #我们所需要# # # ; o) W  o$ y6 X+ t) U: F/ L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . \" ^4 {4 c- Y( x: M  F4 K
  6. 不会解释如何做到这一点-也有文件存在,为
    . p: Q. L9 d( y' a  e" ]
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( C4 x* z% D2 z# U! `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    . F, M1 P4 @( _8 @3 I( |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% U' P+ z+ S. x+ k  }4 G4 Z
  10. 本地机器,这是我的MySQL安装。
      i4 ~" a9 a' D4 E: w/ Z% o; g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 {1 I- s; ~# J& }: u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ) W- w; a1 P' p, o( [
  13. 数据库。
    , k* `9 q1 Z' b9 B1 j1 _" J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" W6 l$ ?1 G! L4 j" m! h2 k7 L& v
  15. 编写本报告的时候,仍然有太多的问题-检查现状  x- H& ]7 M; x5 J4 }! Y
  16. 在teamspeak论坛,如果你有兴趣。
    0 `5 C  v7 X% l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 d( z) p7 ~5 o( ?* S
  18. Borland公司使用。这个司机只能界面与客户端库7 I: M* Q) W1 ]5 m! M
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - f6 M  r( i6 g+ x* ?& r6 E& G- m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- G+ a8 u. T( D& H* `. j6 G
  21. " vendorlib " ,并解数据库连接。
    - H: y1 i* E$ ]) y% E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   ]- X2 k4 z+ {% ~! n5 q
  23. , R- P7 m, J/ Z8 e
  24. # # #做好工作# # #
    & K2 Q' _0 f6 |* o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & C, S4 D3 D" w# H; Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, v  ~% j6 O3 ~' B" U
  27. 结束: ; I; S0 z6 H& t. k
  28. ---削减这里---
    5 c4 z- u8 F7 |- J$ p0 D( i
  29. [ dbexpress ] $ f5 p4 o( F7 W  u, V; N7 o, G
  30. sqldir = mysql_sql . b$ r+ o, r3 ~6 a1 ^
  31. drivername = MySQL中( \1 R# C4 S8 I" ]" C, D+ l
  32. 数据库= your_database_name_here : S( \7 j& D( R1 d! }- H+ s
  33. 主机= the_pc_the_mysql - server_is_on
    . o& @4 v9 ?" P
  34. user_name = user_name_on_the_mysql服务器
    2 W8 O# r' m, X8 k
  35. 密码= password_to_go_with_above_user_name
    - `6 h4 A1 H8 b7 s. V
  36. getdriverfunc = getsqldrivermysql 6 X) Y; k4 w9 ^7 W  Z7 p" I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 `$ l+ J: C/ T0 m" w# K
  38. libraryname = path_to_libsqlmy_libary
    8 E: w: I# v1 v0 m" G
  39. 积极= 1
    1 N  S" u) k# _9 _
  40. ---削减这里---
    & T9 H7 _5 y6 J+ L" P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # G3 ?( r( I4 n# x0 {# u$ x3 k
  42. ---例如--- $ G" d2 K$ L2 ]" K4 ^% j% X; D5 D
  43. [ dbexpress ] ) C& T' p; w3 E* u% w
  44. sqldir = mysql_sql
    - H8 d8 k: Y* m9 \* C( N
  45. drivername = MySQL中
    & r& |/ q* }% ~) a0 `0 ^" w
  46. 数据库=测试
    * C' X" R& u) J: u$ i0 h0 }! Z
  47. 主机=本地主机( n* J. d. Q9 N1 t& Q. l- D
  48. user_name = testuser
    0 v1 v* \( Q" a- o
  49. 密码= my_password
    ) Q$ }% i0 m$ C+ ?' r  s
  50. getdriverfunc = getsqldrivermysql 3 a7 N7 e; O. s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % z, k# |* f7 \% c  G8 l
  52. libraryname =. / libsqlmy.so 1 q) S& r, u" N% b7 U/ [# a
  53. 积极= 1
    & p: Q3 @! D" P/ N
  54. ---例如--- . L( L0 t7 h4 M9 E* T$ h5 ]

  55. 7 u+ v% a7 [2 N1 b. l- P
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 r" M6 o; J+ ?( s6 u5 Y2 ^
  57. ---例如---
    2 |( Z5 S5 Y* X4 A- A$ i
  58. [ dbexpress ]
      |: ]$ i5 a4 `
  59. sqldir = mysql_sql $ B5 Z: m: J6 i7 v2 b& D
  60. drivername = MySQL中
    % L, x8 W$ E* i6 Q" j& H. f' l
  61. 数据库=测试
    7 x' u6 u  G( ^$ D' t% G
  62. 主机= 127.0.0.1 ; T# M; j5 h" g7 t& Y% m7 E! g3 S
  63. user_name = testuser
    / J1 p# C$ S, R) V" M- h
  64. 密码= my_password ; `/ P$ ~9 _) ^* G3 _+ m3 _, _4 m
  65. getdriverfunc = getsqldrivermysql
    : Q. c, E2 L: r, c
  66. vendorlib = libmysql.dll在- W# x9 z, D4 D  h, \9 i- E+ x% Q
  67. libraryname = dbexpmysql.dll : R# M  v0 t# [5 F2 y6 U: [
  68. 积极= 1 1 x- c. G) d2 w' M" M
  69. ---例如----
    6 z* I- j- _( V, G- y) ]$ x
  70. -写在0 2.03.04由p wk.linuxfan
    * U2 @, m+ [6 R, N" R) N
复制代码
发表于 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; V& [& ~' A3 o4 x. F
+ I8 ?) _5 n" {/ c
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-3 18:22 , Processed in 0.109848 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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