Server / MySQL
Followed this guide. Installing and Configuring MySQL Database Serversudo su - yum update yum install mysql-server chkconfig --levels 235 mysqld on service mysqld start mysql_secure_installation Follow the instructions provided by the mysql_secure_installation script. Set a root password, disable remote access, remove anonymous user, remove default database. Create user, database, and tables
CREATE TABLE telemetry ( id int(11) NOT NULL auto_increment, primary KEY (id), gpsAltitude MEDIUMINT(6), latitude DECIMAL(10,3), longitude DECIMAL(10,3), temperature DECIMAL(5,2), barometricPressure SMALLINT(4), humidity DECIMAL(5,2), batteryVoltage DECIMAL(4,2), timestamp TIMESTAMP);
Recovering MySQL Root Password
|