Start Mysql; Test Php; Create The Sample Radius Database - Colubris Networks CN3000 Administrator's Manual

Table of Contents

Advertisement

Chapter 14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sample setup - Backend software - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chapter 14

Start mysql

1. Run c:\mysql\bin\winmysqladmin.exe
2. When prompted to enter a username and password click Cancel.
3. Shut down and restart Server 1.

Test PHP

1. Open a command-line session.
2. Run c:\opensa\apache\apache.exe -D SSL.
3. Point your web browser to http://localhost/phpinfo.php. The following page opens:
4. Close the command-line session Apache is running in.
Create the
A batch file is provided that will automatically create the database entries needed for
this example. This saves you the trouble of making these entries manually.
sample RADIUS
1. Start a windows command-line session.
database
2. Change to the directory: c:\colubris\mysql\
3. Run the batch file: createdb.cmd
Note: It is normal to see the following error when the createdb.cmd is run the first time:
DROP DATABASE radius failed
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 304 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
For example:
mysqladmin: DROP DATABASE radius failed;
error: 'Can't drop database 'radius'. Database doesn't exist'
Database "radius" created
Displaying users present in database
u_username
u_user_type
hotspot 1
user
2
admin
4
www.noc-cn3000.com
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents