And my question is:
1. How to install mysql to test, install have set password and create database default
2. Can i make script on task of bamboo "mysql -u root -p 123456 -h localhost" ?
Thanks
Thien Nguyen
I had made the "Instance startup script" for php and mysql as below:
------------------------------------
sudo yum install -y php-mcrypt
sudo yum install -y php-pdo
sudo yum install -y php-mysql
sudo yum install -y php-pecl-xdebug
sudo yum install -y php-mbstring
sudo yum install -y mysql-server
sudo /sbin/service mysqld start
/usr/bin/mysqladmin -u root password 'newpass' create laravel4
sudo /sbin/service mysqld start
sudo chkconfig mysqld on
sudo perl -pi -e 's/memory_limit = 128M/memory_limit = 256M/g' /etc/php.ini
---------------------------------------
I had change mysql password to newpass and created database laravel4
Thanks
Thien Nguyen
You can set a "script task" on your plan. Please take a look at https://confluence.atlassian.com/display/AOD/Script and check how you can do it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, so how about for
1. How to install mysql to test, install have set password and create database default
When Instance startup script, I want install database and create database default
Ex:
yum install -y mysql-server
service mysqld start
/usr/bin/mysqladmin -u root password password create [database_name]
But i make that, the server can't start
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.