This is the setup I have used on FreeNAS 9.2.1.7 to setup a MySQL server to function for XBMC soon to be KODI. Here we go! Step 1. We want to create a Jail within the FreeNAS webGUI. – Jails –> Add Jails The 3 highlighted areas are the only things that need to be […]
How to get the sizes of your databases in MySQL
by mtecheasy on September 16, 2014
Here it is courtesy of S. Prakash found at http://forums.mysql.com/read.php?108,201578,201578 SELECT table_schema “Data Base Name”, sum( data_length + index_length ) / 1024 / 1024 “Data Base Size in MB”, sum( data_free )/ 1024 / 1024 “Free Space in MB” FROM information_schema.TABLES GROUP BY table_schema ;
How to see a list of user in MySQL
by mtecheasy on September 16, 2014
Using this query will get you results: SELECT User FROM mysql.user;
Backing Up and Restoring Your MySQL Database
by mtecheasy on January 16, 2011
The easiest way to backup and restore your mysql database is the following: Backing up your database: mysqldump -u username -p password database > backupfile.sql – username – this is your database username – password – this is the password for your database – database – the name of your database – backupfile.sql – the […]
How to Build a Full-Featured Login System
by mtecheasy on December 21, 2010
From GigaSpartan.com: In this tutorial I will be showing you how to make a simple login system consisting of a login page, register page, forgotten password page, email activation, logout page and finally a users online page. I made this tutorial to mainly target new-to-PHP developers, due to the fact when I started I noticed […]
