File: README_MySQL.txt

package info (click to toggle)
pennmush 1.8.0p4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,068 kB
  • ctags: 6,319
  • sloc: ansic: 68,221; sh: 7,056; perl: 1,150; makefile: 284
file content (31 lines) | stat: -rw-r--r-- 1,289 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Building PennMUSH 1.7.x under Windows with MySQL
------------------------------------------------
by Ervin Hearn <noltar@korongil.net>

Last update: Saturday, 26 June 2004
Current Version of MySQL: 4.0.20a

These directions are oriented toward those using MSVC++ or MinGW
Development Studio. Those using MinGW+MSys should install MySQL
just as if they were doing so on Linux.

1. Download and install MySQL for Windows from http://www.mysql.org/

2. Make sure that the contents of mysql/lib/opt and mysql/include are located
   within your build environment's path.
   
   I recommend creating symlinks/shortcuts with the name mysql in your
   compiler's lib and include directories which point to the mysql install
   locations. A representation of this is:
   
   C:\Program Files\Microsoft Visual Studio\VC98\lib\mysql -> C:\mysql\lib\opt
   C:\Program Files\Microsoft Visual Studio\VC98\include\mysql -> C:\mysql\include

3. Now set your active configuration to one of the Win32 MySQL profiles.
   The project should now compile and produce a binary which includes PennMUSH's
   MySQL functionality.

4. Place libmysql.dll in your C:\Windows\System32 directory and set the sql
   directives in your mush.cnf.

5. From the top-level pennmush directory, the binary is: game/pennmush.exe