root/1.8.3/tags/p5rc1/win32/README_MySQL.txt

Revision 557, 1.3 KB (checked in by pennmush, 2 years ago)

PennMUSH 1.8.2p0 release candidate.

Line 
1Building PennMUSH 1.8.x under Windows with MySQL
2------------------------------------------------
3by Ervin Hearn <ehearn@pennmush.org>
4
5Last update: Saturday, 11 November 2006
6Current Version of MySQL: 5.0.27
7
8These directions are oriented toward those using MSVC++ or another Graphical
9Windows IDE. Those using MinGW+MSys should install MySQL just as if they were
10doing so on Linux.
11
121. Download and install MySQL for Windows from http://www.mysql.org/
13
142. Make sure that the contents of mysql/lib/opt and mysql/include are located
15   within your build environment's path.
16
17   I recommend copying the contents of the directories listed below into your
18   compiler's lib and include directories under directories named 'mysql'. A
19   representation of this is:
20
21   C:\Program Files\Microsoft Visual Studio\VC98\lib\mysql -> C:\mysql\lib\opt
22   C:\Program Files\Microsoft Visual Studio\VC98\include\mysql -> C:\mysql\include
23
243. Now set your active configuration to one of the Win32 MySQL profiles.
25   The project should now compile and produce a binary which includes PennMUSH's
26   MySQL functionality.
27
284. Place libmysql.dll in your C:\Windows\System32 directory and set the sql
29   directives in your mush.cnf.
30
315. From the top-level pennmush directory, the binary is: game/pennmush.exe
Note: See TracBrowser for help on using the browser.