MySQL Server: localhost
MySQL Database: vanilla_db
MySQL User: guest
MySQL Password: XXXXXXX
Cookie Domain: www.server.com
Showing posts with label vanilla. Show all posts
Showing posts with label vanilla. Show all posts
Installing Vanilla Forum
First set up mysql, follow the instructions here.
Set up mysql server
Installing:
Chkconfig
Manual start
Run /usr/bin/mysql_secure_installation and accept all defaults.
Add vanilla_db and guest user (used for vanilla forum):
yum install mysql mysql-server php-mysql
Chkconfig
chkconfig --level 345 mysqld on
Manual start
/etc/init.d/mysqld start
...
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h tortoise password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
...
Run /usr/bin/mysql_secure_installation and accept all defaults.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.
Set root password? [Y/n] y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n]
... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n]
... Success!
By default, MySQL comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n]
- Dropping test database...
ERROR 1010 (HY000) at line 1: Error dropping database (can't rmdir './test', errno: 13)
... Failed! Not critical, keep moving...
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n]
... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MySQL
installation should now be secure.
Thanks for using MySQL!
Add vanilla_db and guest user (used for vanilla forum):
mysql -u root -p
mysql> create database vanilla_db;
Query OK, 1 row affected (0.00 sec)
mysql> grant all privileges on vanilla_db.* to guest@localhost identified by 'XXXXXXXX';
Query OK, 0 rows affected (0.00 sec)
Subscribe to:
Posts (Atom)