Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] MySQL rpm installation

Subject: perfsonar development work

List archive

Re: [pS-dev] MySQL rpm installation


Chronological Thread 
  • From: Jason Zurawski <>
  • To: Szymon Trocha <>
  • Cc: perfSONAR developers list <>, Domenico Vicinanza <>, Gina Kramer <>
  • Subject: Re: [pS-dev] MySQL rpm installation
  • Date: Fri, 20 Feb 2009 09:30:15 -0500
  • Organization: Internet2

Szymon;

*going from memory for some of this - someone else may wish to verify*

1) Install packages (note: its a good idea to install the client and server packages):

yum install mysql mysql-server

2) Start (just in case install doesn't do so):

sudo /etc/init.d/mysqld restart

3) change the admin passwd (need to do this only once - remember what you change it to):

sudo /usr/bin/mysqladmin -u root password 'new-password'

4) Database is set now, add in whichever commands are necessary to set up the databases for the perfSONAR services (should be same as below).

Hope this helps;

-jason

Hi all,

Does any of you have experience with MySQL installation using RPMs under Linux?
We would like to add this information to the latest version of WebAdmin Guide and need you help here.


Example which we have for debs:

1. If you don't have relational database installed, execute the following command to install MySQL:
apt-get install mysql-server
Make sure your database is configured and running (for more details, see the MySQL manual at http://dev.mysql.com/doc/refman/5.0/en/index.html).
2. Execute the following command to download the SQL database script for creating the database structure:
wget
http://anonsvn.internet2.edu/svn/perfsonar/tags/GEANT2-JAVA-SQL-MA-2.1/conf/mysql-sqlma-dbsetup.sql
3. Execute the following command to run the script:
mysql -u root -p < mysql-sqlma-dbsetup.sql


Thank you in advance and regards,




Archive powered by MHonArc 2.6.16.

Top of Page