GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Installing mSQL

bullet Introduction
Virtual Private Servers via Telnet or SSH and do the following, according to your Virtual Private Servers O/S:

These mSQL installation programs copy the mSQL software onto your Virtual Private Servers. This includes an msql.acl file with some "intelligent" defaults.

The installation programs determine if you have mSQL v1 installed. If you do have mSQL v1 installed, the installation programs attempt to convert your existing database files to v2 database format.

Your v2 databases are stored in the following directory, depending on your Virtual Private Servers O/S:

  • FreeBSD ~/usr/local/Hughes/msqldb

The installation programs do not destroy your v1 database directory: ~/msqldb.

NOTE: If you are upgrading from v1, you will eventually want to remove the mSQL v1 directory ~/msqldb manually when you are certain the upgrade worked. You can do this by typing the following at a command prompt:

% rm -rf ~/msqldb

Make sure your databases are working correctly before doing this!


The installation programs also start the mSQL daemon. To restart the mSQL daemon use the following command:

% daemon -f /usr/local/bin/msql2d

Notice that a similar command has been added to your Rc file (~/etc/rc) to ensure that mSQL restarts in case of a host machine reboot. mSQL runs as a daemon on your Virtual Private Servers. To check on the status of the mSQL daemon, do the following:

% ps auxww | grep msql

 

bullet The msql Client
mSQL v2 uses different command-line commands than v1 of mSQL. The following table summarizes the differences:

mSQL v1 mSQL v2
msql
msql2
msqladmin
msql2admin
msqldump
msql2dump
relshow
relshow2


The installation programs create some aliases in your ~/.cshrc file to help you remember. You will need to do the following at the command prompt before these aliases take affect:

% source ~/.cshrc

You only need to do this the first time. When you log in again the changes will be in effect.


Toll Free 1-866-GSP-4400 • 1-301-464-9363 • service@gsp.com
Copyright © 1994-2016 GSP Services, Inc.