Banner
Installing MySQL without Root Access on Linux

1. Download tar.gz file distribution from mysql.com and explode to a directory.

2. From base MySQL directory run:

./scripts/mysql_install_db --datadir=[Base MySQL Directory]/data

People
3. From base MySQL directory create some scripts for the following commands to start/stop and access command line:

    Command to Start: 

./bin/mysqld --basedir=[Base MySQL Directory] --datadir=[Base MySQL Directory]/data --log-error=[Base MySQL Directory]/data/mysql.err --pid-file=[Base MySQL Directory]/mysql.pid --socket=[Base MySQL Directory]/thesock --port=3306 &

    Command to Stop:
 
./bin/mysqladmin --socket=[Base MySQL Directory]/thesock shutdown

    Command to Access MySQL database:
 
./bin/mysql --socket=[Base MySQL Directory]/thesock

4. Start loading your data.

Bookmark and Share
Comments
Name
Date (desc)
Comment
 
 


No comments posted at this time



© 2024 - Blue Crown Software - (480) 306-6328 Register as New User Login