Kaivos User Guide Getting a database account 2

Size: px
Start display at page:

Download "Kaivos User Guide Getting a database account 2"

Transcription

1 Contents Kaivos User Guide 1 1. Getting a database account 2 2. MySQL client programs at CSC Connecting your database Setting default values for MySQL connection Graphical Interfaces Following the disk usage in kaivos.csc.fi Example: Creating a table Data import and export Importing and exporting data between CSC servers and Kaivos Example: Importing data with mysqlimport Using MySQL client through batch job system 7 Example : Using MySQL database from a batch job script in Taito Using kaivos.csc.fi directly from your local computer Tunneling MySQL port with ssh or plink Tunneling MySQL port with Scientist s User Interface Remote MySQL connections Using Perl MySQL API at CSC 11 Write a MYSQL database access script Running the MYSQL database access script The statements issuing methods Transaction Using Python MySQL API at CSC 12 Write a MYSQL database access script Running the MYSQL database access script The statements issuing methods Transactions Kaivos User Guide Relational database service at kaivos.csc.fi is intended for the users, who want to use their own MySQL databases in CSC computing environment. In this guide you can find information about getting started with the database service and instructions for using it. The actual SQL command language is not discussed in this document in detail. Please use the MySQL manual or some of the many SQL guides published for an introduction to SQL databases. 1

2 1. Getting a database account The kaivos.csc.fi database service can be accessed only from the computing servers of CSC. Thus, in order to use the database service, the project manager as well as all the users should have a CSC user account at Taito. To open a database to kaivos database service, the project manager needs to print out the application form for database service at: Applying for user accounts When the application is accepted, a new empty database is created to the database server (kaivos.csc.fi). The database service is used through MySQL client programs or other MySQL interfaces. The project manager will receive three database user accounts with passwords to access and manage the database. The database user accounts are based on the database name defined in the application form. The three database user accounts have different roles: The databasename_admin user account is intended for database administration. This user account can create new tables and indexes for the database. This user account can also remove records and tables from the database. However, the admin user account can t create new databases or database user accounts. This user account has all rights to the database except the GRANT OPTION. The databasename_user user account is intended for everyday usage of the database. This user account can read, write, change and delete data from the database tables. However, this user account can t change the structure of the database i.e. create or drop tables. This user account has the following rights to the database tables: SELECT, INSERT, UPDATE, DELETE. The databasename_read user account is intended for users who are allowed to do only queries to the database. This user account can t change the database in any level. This user account has only the SELECT right to database tables. The project manager should distribute the database user accounts with passwords to the users of the database service. The databasename_read user account can be given to users who are not members of the computing project. One research group can have several databases. Each database has proprietary database user accounts and passwords. 2. MySQL client programs at CSC Below you can find instructions on how to use the MySQL client programs in CSC s computing environment. The SQL language is not covered, but you can find a lot of documentation and guidance elsewhere (e.g., MySQL user manual). 2.1 Connecting your database Once the database user accounts have been received from CSC the user can start to create tables and store data into the empty database. The database service can be used through MySQL client programs available in Taito ( including Taito-shell ). In command line usage, users open the connection from Taito to the kaivos.csc.fi server, which provides the database service. To be able to use MySQL commands you need to first load the environment: module load mysql After this you can start the MySQL client program or execute some of the MySQL commands. A MySQL command line client session to kaivos.csc.fi is opened with the command: 2

3 mysql -u db_user_account p -h kaivos.csc.fi --local db_name This starts an interactive MySQL session which you can use to execute SQL commands for your database. In the command above options -u and -h define your database user account and the database server name (kaivos.csc.fi). The -p option defines that password is used for authentication. The local option is not always necessary, but it is useful as it indicates to the MySQL client that the MySQL connection comes from a remote host. Instead of giving the SQL commands interactively, you can also write the SQL commands into a file and execute them with the command: mysql -u db_user_account -p -h kaivos.csc.fi --local db_name \ < commands.sql > output.txt or mysql -u db_user_account p -h kaivos.csc.fi --local \ --skip-column-names --quick db_name < commands.sql > output.txt In the latter command, the skip-column-names option is used to print out only the data produced by the SQL commands. Otherwise names of the selected columns would be printed too. The quick option makes the client to print each row as it is received instead of storing it to the cache first. 2.2 Setting default values for MySQL connection In the mysql commands above, the client program would ask for the user name and password every time when a mysql command is executed. It is however possible to define default values for the database name, user name and password, that will be used for the connection if no password or user name is given. Setting the default values is useful especially in cases where the user uses mostly just one database. The default values for the MySQL connections is defined in a file called.my.cnf (note the dot in the beginning of the file name) that locates in the user s home directory. This definition file can be constructed in two alternative ways: in Taito or Taito-shell with a normal text editor or with the command: kaivos_mysql_cnf Below is shown the basic structure of the.my.cnf file: [client] user = MySQL_username password = MySQL_password host = kaivos.csc.fi [mysql] database = db_name You can also store the settings for MySQL connection to some other file name, and apply these settings by using option defaults-extra-file=settings_file. For example, if we would like to use MySQL connection configuration that is stored to file db_conn2.def, we could execute the previously used MySQL query by using command: mysql --defaults-extra-file=db_conn2.def --local db_name \ < commands.sql > output.txt 3

4 2.3 Graphical Interfaces Graphical MySQL interfaces have not been installed to Taito. However graphical database interfaces are very efficient when you need to get familiar and administrate a complex database that contains a large number of tables. If you wish to use your database through a graphical user interface, we recommend that you install the interface program to your local computer and create a remote connection to Kaivos as described in chapter Following the disk usage in kaivos.csc.fi Each user has only limited disk space available in the kaivos.csc.fi server. If the database reaches the disk quota, the database users can no longer write to the database. In these cases the users should clean up the database to reduce the size or apply more disk space from CSC. You can check the database quota and usage with the Kaivos Status tool or with command: or mysql_quota mysql_quota u db_user_account p db_password The situation can also be checked during the MySQL terminal session. kaivos.csc.fi, give the MySQL command: To see the disk quota in CALL quotadb.quota(); The current size of the database can be checked with the MySQL command: CALL quotadb.usedquota(); Example: Creating a table In the following example we create a new table called results into an empty database DB_A. First we connect to the database with the MySQL client: mysql u DB_A_admin -h kaivos.csc.fi p DB_A Next we create a new table that contains three columns: id, value and comment. The id column is in this case defined to be a unique integer, the value column contains floating point numbers and the comment column text data (a non binary string with max. 30 characters). Note that in real life you normally define many other features like the primary key column and auto filling etc. when you create a new table. CREATE TABLE results (id INT UNIQUE, value FLOAT, comment VARCHAR(30)); Note the semicolon (;) that is used as end character in SQL commands. You can now use SQL command SHOW TABLES to see which tables your database contains. 4

5 mysql> SHOW TABLES; Tables_in_DB_A results row in set (0.01 sec) Data can be inserted to the table with the SQL command INSERT INTO. Below we insert three new lines to the table: mysql> INSERT INTO results (id, value, comment) VALUES (1, 27.45, "Test case"); mysql> INSERT INTO results (id, value, comment) VALUES (2, 12.33, "Another"); mysql> INSERT INTO results (id, value, comment) VALUES (3, 25.33, "Value2"); When the table contains data, we can now do SQL queries with the SELECT command: mysql> SELECT value FROM results WHERE id=2; value The MySQL client session is closed with the command EXIT: mysql>exit 3 Data import and export 3.1 Importing and exporting data between CSC servers and Kaivos In the CSC computing environment we recommend command mysqlimport for loading datasets into the database. This command reads in a delimited text file into a table already existing in the database. To load a large text file from a CSC computing server to a database in Kaivos, you can use the command syntax: mysqlimport -h kaivos.csc.fi -u db_user_account --local \ --compress --password database_name input_file.table Mysqlimport strips any extension from the input file name and uses the result to determine the name of the table into which to import the file s contents. The user must make sure that the database contains a previously created table with data columns that match the data in the input data file. The user may also have to change the name of the input file if it is not compatible with a database table. The local option defines that the data file locates in the machine where the client is used and not in the actual database server. Thus in the case of mysqlimport, this option is obligatory in the computing servers of CSC. Downloading complete tables or databases from the database can be done with command mysqldump. 5

6 This command was developed for making backup copies of MySQL databases. In the case of kaivos.csc.fi, backup copies are not needed as the database is automatically backup copied by CSC. Instead mysqldump offers an easy way to make a copy of your database so that you can move both the data content and structure of your database to another SQL server. You can make a copy of the whole database: mysqldump --set-gtid-purged=off u db_user_account -h kaivos.csc.fi p \ database > database_dump.txt or just from one or more tables: mysqldump --set-gtid-purged=off u db_user_account -h kaivos.csc.fi p \ database table_name > table_dump.txt When mysqldump is used with the default settings, the result files contain MySQL commands that are needed to create and populate the selected database tables. Mysqldump locks the table in the beginning of the copying. Because of this only the dbname_admin user account of the database can launch the command by default. In the case of other user accounts (dbname_read or dbname_user) skip-locktables option should be added to the mysqldump command. You can import the database_dump.txt file as follows: mysql u database_user_account -h kaivos.csc.fi p database < database_dump.txt Example: Importing data with mysqlimport In this example we import a data set into the result table created in the example in chapter 2. The data to be imported to the database locates in file: data_to_import.txt. This file contains data rows like: STRUCTURE1.PDB STRUCTURE2.PDB STRUCTURE3.PDB STRUCTURE4.PDB STRUCTURE5.PDB STRUCTURE6.PDB STRUCTURE7.PDB STRUCTURE8.PDB STRUCTURE9.PDB STRUCTURE10.PDB STRUCTURE11.PDB STRUCTURE12.PDB etc To import the data to the results table, we must first copy the data to a file with a name that is compatible with the table name (results). cp data_to_import.txt results.table Then use mysqlimport to import the data mysqlimport -h kaivos.csc.fi --local --compress p u DB_A_admin DB_A results.table 6

7 4. Using MySQL client through batch job system The MySQL client program can be used in the batch job systems in the same way as in interactive client usage. The only difference is that in the batch jobs, the database password can t be given interactively. Instead it should be given by using MySQL configuration file (.my.cnf) in the home directory. Below is a sample MySQL script for Taito. First we need to create a MySQL connection configuration file that locates in the home directory. In this case we use user account mydb1_admin, whose password is abc123. The file, named as.my.cnf, would now look like following: [client] user = mydb1_admin password = abc123 host = kaivos.csc.fi Then we create the actual batch job script. The script below reserves 12 h time and 1 GB memory to run the MySQL query that is defined in the file query_commands.sql. The query is made to database mydb1 and the connection parameters are read from file.my.cnf. The results are written to the results.txt file. #!/bin/bash -l #SBATCH -J mysql_job #SBATCH -o output_%j.txt #SBATCH -e errors_%j.txt #SBATCH -t 12:00:00 #SBATCH -n 1 #SBATCH --mail-type=end #SBATCH --mail-user=kkayttaj@uni.fi #SBATCH -p serial #SBATCH --mem-per-cpu=1024 module load mysql cd $WRKDIR/my_data mysql --local mydb1 <query_commands.sql > results.txt Example : Using MySQL database from a batch job script in Taito The MySQL database in kaivos.csc.fi is intended for cases where computing servers of CSC use the MySQL database to store and analyze data. In these cases the database is normally not used interactively, but the MySQL client is used automatically from a shell or program script. Below is a a sample mysql session where database called DB_A is accessed using the database user account DB_A_admin and password abc123. This user account information is first stored into.my.cnf in home directory: [client] user = DB_A_admin password = abc123 host = kaivos.csc.fi Below is a sample batch job script, called as kaivos.bash, queue system. that utilizes kaivos.csc.fi within the batch 7

8 #!/bin/bash -l #SBATCH -J mysql_job #SBATCH -o output_%j.txt #SBATCH -e errors_%j.txt #SBATCH -t 12:00:00 #SBATCH -n 1 #SBATCH -p serial #SBATCH --mail-type=end #SBATCH --mail-user=kkayttaj@uni.fi #SBATCH --mem-per-cpu=1024 #load mysql environment module load mysql #go to the right directory cd datadir # run the analysis my_program < inputfile30.data > results.30 #feed the data to the database mysqlimport --local --compress DB_A results.30 #change the status value in the dataset_table mysql --local DB_A <<EOF update dataset_table set status="done" where name="inputfile30.data" ; EOF #remove the original results file rm f results.30 The sample script above first analyzes a file called inputfile30.data with program my_program. The results are first written to file called results.30. The data in this file is then imported to a database with mysqlimport command. Note that the script assumes that a table called results already exists in the database DB_A and that the columns in the results file are in the same order as in the database table. After importing the data to the database the script launches another MySQL command. The second command modifies an existing table called dataset_table. The mysql command changes the status value in this table so that in the row where the name column contains the value inputfile30.data, the status column gets the value: done. The kaivos.bash script, described above, can be submitted to the batch job system of Taito with command sbatch kaivos.bash 5. Using kaivos.csc.fi directly from your local computer 5.1 Tunneling MySQL port with ssh or plink The MySQL databases in kaivos.csc.fi can be directly accessed only from the computing servers of CSC. However, you can make the database visible to your own computer using your CSC user account and port forwarding through an ssh tunnel. In linux and MacOSX machines an ssh tunnel from your local computer to kaivos.csc.fi via taitoshell.csc.fi can be done for example with the command: 8

9 ssh -l taito_username -L 3306:kaivos.csc.fi:3306 taito-shell.csc.fi -N The N option in the end of the connection command blocks the command shell after the connection is established. Once the connection is closed also the port forwarding becomes disabled. Note that the ssh command above uses your CSC user account and password, not the database user account. In Windows machines you can use e.g. plink program to open the tunnel. Plink can only be used through the command prompt. Below is a sample command for using plink: plink -L 3306:kaivos.csc.fi:3306 taito_username@taito-shell.csc.fi 5.2 Tunneling MySQL port with Scientist s User Interface If you don t have ssh or plink program available in your windows computer you can use the GSI SSH console tool in the Scientist s User Interface to do the secure server port forwarding. First log into the Scientist s User Interface service by clicking the link below Once you have entered to the service, launch the SSH Console by clicking the icon in the Services Desktop or by selecting the tool from the Services Menu ( under the Computing Environment sub-menu). When the console is launched, it asks for your user account and the name of the server you want to connect. The password will be asked only later on. For example: Username: csc_username Remote Host: taito-shell.csc.fi And then launch the SSH console. When the Java based console program starts you may need to accept launching the process in you local machine and allow the process connect CSC. When the console is running it will ask you to choose the authentication method to be used. Select: password and press Proceed. Figure 1: Selecting authentication for SSH Console. After this a Password Authentication window opens. Type in you password and press OK. 9

10 Figure 2: Password authentication for SSH Console. You can use the console to use the CSC servers, but it contains also other tools than just the command line client. You can use it for example for file transport or secure tunneling of server ports. In the case of port tunneling go to the Tools menu of the client window and select: Tools Secure Tunneling To open the MySQL tunnel, press the New Tunnel button in the Tunnel management window. To use Kaivos, you should define a tunnel with following settings Name: Mysql Tunnel type: Outgoing Linstenig Port(local): 3306 Destination Host: localhost Destination Port: Remote MySQL connections The commands in capter 5.1 and 5.2 define that the communication to port 3306 (the default port of MySQL) in you local computer is transported to the MySQL port of kaivos.csc.fi through taito-shell.csc.fi server. As long as the connection to taito-shell.csc.fi is active the database in kaivos.csc.fi can be accessed from your local computer using the same MySQL commands as described above for Taito (assuming that you have the MySQL client program installed in your local computer). The only difference compared to previous command examples is that the host section (-h) should now point to host that refers to your local host, instead of kaivos.csc.fi. So for example the syntax to open an interactive MySQL session would now be: mysql -u db_user_account p -h local database_name And the syntax for mysqlimport: mysqlimport -h u db_user_account --local --compress \ --password database_name input_file.table In the same way, you can make your databases visible in your local computer using locally installed graphical MySQL interfaces, like MySQL Workbench. The only major limitation with the port forwarding is that normally ssh tunnels are not very stable. You may need to reopen the ssh connection every now 10

11 and then and you should not trust that the tunnel remains usable for several hours. For the security reasons we recommend that you always close the ssh connection when you stop using the database. 6. Using Perl MySQL API at CSC The Perl MySQL API is available in Taito at CSC, but it is not officially supported. The following tasks are usually performed by a Perl database script: Perl DBI module is imported The connection to the MySQL server is opened The statements are executed and their results sets are retrieved The server connection is closed The following guidance assumes that you have a database user account to the database service at CSC. If you are accessing another MySQL server replace the server name (kaivos.csc.fi) in script the server name you are using. Write a MYSQL database access script Use your favourite text editor to create a named script file e.g. mydb_script.pl. Then copy the following text to the script. # mydb_script.pl script to show MySQL server version use strict; use DBI; my $dbh = DBI->connect ("DBI:mysql:your_database_name:kaivos.csc.fi", "your_database_user_account", "your_database_password") or die "Cannot connect:". $DBI::errstr; my $sth = $dbh->prepare ("SELECT VERSION()") or die "Cannot prepare:". $dbh->errstr(); $sth->execute () or die "Cannot execute: ". $sth->errstr(); while = $sth->fetchrow_array()) { print "@row\n"; } $dbh->disconnect (); The connection to the database is established by invoking the connect() method with the connection parameters. These parameters are: the database to use, database server, database user account and database password. Replace these values corresponding your database, database user account and database password. The prepare() method prepares the SQL statement and execute() method sends statement to the database server. The fetchrow_array() method retrieves rows from the result set in a loop, and the resulting rows are printed. Finally the connection is closed by disconnect() method. Running the MYSQL database access script Run the script from the command line with Perl interpreter. environment, because it contains the required modules. We recommend using bioperl in CSC module load biokit perl mydb_script.pl 11

12 or add following to the beginning of the script: #!/appl/bio/bioperl/5.16.3/bin/perl Then make the script executable and run it directly: chmod +x mydb_script.pl./mydb_script.pl The statements issuing methods The prepare() method is for preparing the SQL statement and execute() method is for issuing SQL statements. However, you can use the do() method for non repeated non-select statement (e.g. INSERT, UPDATE, DELETE), because no data is returned from the database: $rows_affected = $dbh->do("update your_table SET foo = foo + 1"); Transaction By default AutoCommit mode is on. You do not need to use commit() method while making transactions. Only InnoDB storage engine is transactional. The default MyISAM is a non-transactional storage engine. 7. Using Python MySQL API at CSC The Python MySQL API is available in Taito at CSC, but it is not officially supported. taito.csc.fi and write a Python script that access to the database server. The following tasks are usually performed by a Python database script: Login to MySQLdb module is imported The connection to the MySQL server is opened The statements are executed and their results sets are retrieved The server connection is closed The following guidance assumes that you have a database user account to the database service at CSC. If you are accessing another MySQL server replace the server name (kaivos.csc.fi) in script the server name you are using. Write a MYSQL database access script Use your favourite text editor to create a named script file e.g. mydb_script.py. Then copy the following text to the script. 12

13 # mydb_script.py script to show MySQL server version import sys import MySQLdb try: conn = MySQLdb.connect (host = "kaivos.csc.fi", user = "your_database_user_account", passwd = "your_database_password", db = "your_database_name") except MySQLdb.Error, e: print "Error %d: %s" % (e.args[0], e.args[1]) sys.exit (1) try: cursor = conn.cursor () cursor.execute ("SELECT VERSION()") row = cursor.fetchone () print "server version:", row[0] cursor.close () except MySQLdb.Error, e: print "Error %d: %s" % (e.args[0], e.args[1]) sys.exit (1) conn.close () First of all the script imports modules sys and MySQLdb. The module MySQLdb is a driver to the MySQL database, and it must be imported before connection to database can be created. The sys is needed for error handling by using the try statement and an except clause that contains the error-handling code. The MySQLdb.Error exception class stores the error information to the variable e. If an exception occurs, the error information is printed from e.args as a two-element tuple. The first value is numeric error code and the second value is a string describing the error. If an exception does not occur, the connection to the database is established by invoking the connect() method with the connection parameters. These parameters are the database server, database user account, database password and database use want to use. Replace user, passwd and db values corresponding your database user account, database password and database. The connect() method returns a connection object, which invokes cursor() method to create cursor object. The execute() method of cursor object sends SQL statement to the database server and fetchone() method receives results of the SQL statement. The SELECT VERSION() statement contains a single value as a tuple, which the script prints. Finally the cursor and connection are closed by close() method. Running the MYSQL database access script Run the script from the command line with Python interpreter: python mydb_script.py or add following to the beginning of the script: #!/appl/opt/python/2.7.3-gcc-shared/bin/python Then make the script executable and run it directly: chmod +x mydb_script.py./mydb_script.py 13

14 The statements issuing methods The execute() method is for issuing SQL statements e.g. cursor.execute ("DROP TABLE IF EXISTS table_name") cursor.execute (""" CREATE TABLE table_name ( col1_name col1_type, ) """) col2_name col2_type If your SQL statement invoked with execute() method returns a result set, you must retrieve the result set with different methods. The method fetchone() is used to get the rows one at a time, and the method fetchall() is used to get rows all at once. The result set retrieval using fetchone() cursor.execute ("SELECT col1, col2 FROM table") while (1): row = cursor.fetchone () if row == None: break print "%s, %s" % (row[0], row[1]) The result set retrieval using fetchall() cursor.execute ("SELECT col1, col2 FROM table") rows = cursor.fetchall () for row in rows: print "%s, %s" % (row[0], row[1]) The rows can be fetched as dictionaries, but dictionary access requires a different kind of cursor. When using dictionaries you can access the column values by names. cursor = conn.cursor (MySQLdb.cursors.DictCursor) cursor.execute ("SELECT col1, col2 FROM table") result_set = cursor.fetchall () for row in result_set: print "%s, %s" % (row["col1"], row["col2"]) Transactions If you are using the default MyISAM storage engine, you do not need to worry about transactions, because MyISAM is a non-transactional storage engine. However, if you are using transactional storage engine like InnoDB, commit your data changes with commit () method. Commit updates after cursor closing but before closing connection to the database. cursor.close () conn.commit () conn.close () Use your favourite text editor to create a named script file e.g. mydb_script.py. Then copy the following text to the script. 14

Bitnami MySQL for Huawei Enterprise Cloud

Bitnami MySQL for Huawei Enterprise Cloud Bitnami MySQL for Huawei Enterprise Cloud Description MySQL is a fast, reliable, scalable, and easy to use open-source relational database system. MySQL Server is intended for mission-critical, heavy-load

More information

Bitnami MariaDB for Huawei Enterprise Cloud

Bitnami MariaDB for Huawei Enterprise Cloud Bitnami MariaDB for Huawei Enterprise Cloud First steps with the Bitnami MariaDB Stack Welcome to your new Bitnami application running on Huawei Enterprise Cloud! Here are a few questions (and answers!)

More information

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : 005-002 Title : Certified MySQL 5.0 DBA Part I Version : Demo 1 / 10 1. Will the following SELECT query

More information

Creative assets management. MySQL Install Guide

Creative assets management. MySQL Install Guide Creative assets management MySQL Install Guide Contact Extensis 1800 SW First Avenue, Suite 500 Portland, OR 97201 Toll Free: (800) 796-9798 Phone: (503) 274-2020 Fax: (503) 274-0530 http://www.extensis.com

More information

User's Guide c-treeace SQL Explorer

User's Guide c-treeace SQL Explorer User's Guide c-treeace SQL Explorer Contents 1. c-treeace SQL Explorer... 4 1.1 Database Operations... 5 Add Existing Database... 6 Change Database... 7 Create User... 7 New Database... 8 Refresh... 8

More information

Some Useful Options. Code Sample: MySQLMonitor/Demos/Create-DB.bat

Some Useful Options. Code Sample: MySQLMonitor/Demos/Create-DB.bat The command interpreter - mysql allows for interactive execution of SQL commands and for many routine and administrative tasks. At the launch of mysql, numerous options can be specified to manage formatting,

More information

LABORATORY OF DATA SCIENCE. Data Access: Relational Data Bases. Data Science and Business Informatics Degree

LABORATORY OF DATA SCIENCE. Data Access: Relational Data Bases. Data Science and Business Informatics Degree LABORATORY OF DATA SCIENCE Data Access: Relational Data Bases Data Science and Business Informatics Degree RDBMS data access 2 Protocols and API ODBC, OLE DB, ADO, ADO.NET, JDBC Python DBAPI with ODBC

More information

This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client

This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client Lab 2.0 - MySQL CISC3140, Fall 2011 DUE: Oct. 6th (Part 1 only) Part 1 1. Getting started This lab will introduce you to MySQL. Begin by logging into the class web server via SSH Secure Shell Client host

More information

ApsaraDB for RDS. Quick Start (MySQL)

ApsaraDB for RDS. Quick Start (MySQL) Get started with ApsaraDB The ApsaraDB Relational Database Service (RDS) is a stable and reliable online database service with auto-scaling capabilities. Based on the Apsara distributed file system and

More information

CSC BioWeek 2018: Using Taito cluster for high throughput data analysis

CSC BioWeek 2018: Using Taito cluster for high throughput data analysis CSC BioWeek 2018: Using Taito cluster for high throughput data analysis 7. 2. 2018 Running Jobs in CSC Servers Exercise 1: Running a simple batch job in Taito We will run a small alignment using BWA: https://research.csc.fi/-/bwa

More information

1Z Oracle. MySQL 5 Database Administrator Certified Professional Part I

1Z Oracle. MySQL 5 Database Administrator Certified Professional Part I Oracle 1Z0-873 MySQL 5 Database Administrator Certified Professional Part I Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-873 A. Use the --log-queries-indexes option. B. Use the

More information

CS108 Lecture 19: The Python DBAPI

CS108 Lecture 19: The Python DBAPI CS108 Lecture 19: The Python DBAPI Sqlite3 database Running SQL and reading results in Python Aaron Stevens 6 March 2013 What You ll Learn Today Review: SQL Review: the Python tuple sequence. How does

More information

IBM DB2 Query Patroller. Administration Guide. Version 7 SC

IBM DB2 Query Patroller. Administration Guide. Version 7 SC IBM DB2 Query Patroller Administration Guide Version 7 SC09-2958-00 IBM DB2 Query Patroller Administration Guide Version 7 SC09-2958-00 Before using this information and the product it supports, be sure

More information

CSC BioWeek 2016: Using Taito cluster for high throughput data analysis

CSC BioWeek 2016: Using Taito cluster for high throughput data analysis CSC BioWeek 2016: Using Taito cluster for high throughput data analysis 4. 2. 2016 Running Jobs in CSC Servers A note on typography: Some command lines are too long to fit a line in printed form. These

More information

phoenixdb Release Nov 14, 2017

phoenixdb Release Nov 14, 2017 phoenixdb Release Nov 14, 2017 Contents 1 Installation 3 2 Usage 5 3 Setting up a development environment 7 4 Interactive SQL shell 9 5 Running the test suite 11 6 Known issues 13 7 API Reference 15 7.1

More information

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016 DATABASE SYSTEMS Database programming in a web environment Database System Course, 2016 AGENDA FOR TODAY Advanced Mysql More than just SELECT Creating tables MySQL optimizations: Storage engines, indexing.

More information

For Dr Landau s PHYS8602 course

For Dr Landau s PHYS8602 course For Dr Landau s PHYS8602 course Shan-Ho Tsai (shtsai@uga.edu) Georgia Advanced Computing Resource Center - GACRC January 7, 2019 You will be given a student account on the GACRC s Teaching cluster. Your

More information

Databases in Python. MySQL, SQLite. Accessing persistent storage (Relational databases) from Python code

Databases in Python. MySQL, SQLite. Accessing persistent storage (Relational databases) from Python code Databases in Python MySQL, SQLite Accessing persistent storage (Relational databases) from Python code Goal Making some data 'persistent' When application restarts When computer restarts Manage big amounts

More information

Mysql Create Schema From Sql File Command Line Windows

Mysql Create Schema From Sql File Command Line Windows Mysql Create Schema From Sql File Command Line Windows The last statement says to include "source database-schema.sql, " When i include that statement in my.sql file and run in MySQL command line, it reads

More information

LABORATORY OF DATA SCIENCE. Data Access: Relational Data Bases. Data Science and Business Informatics Degree

LABORATORY OF DATA SCIENCE. Data Access: Relational Data Bases. Data Science and Business Informatics Degree LABORATORY OF DATA SCIENCE Data Access: Relational Data Bases Data Science and Business Informatics Degree RDBMS data access 2 Protocols and API ODBC, OLE DB, ADO, ADO.NET, JDBC Python DBAPI with ODBC

More information

A Crash Course in Perl5

A Crash Course in Perl5 z e e g e e s o f t w a r e A Crash Course in Perl5 Part 8: Database access in Perl Zeegee Software Inc. http://www.zeegee.com/ Terms and Conditions These slides are Copyright 2008 by Zeegee Software Inc.

More information

Booting a Galaxy Instance

Booting a Galaxy Instance Booting a Galaxy Instance Create Security Groups First time Only Create Security Group for Galaxy Name the group galaxy Click Manage Rules for galaxy Click Add Rule Choose HTTPS and Click Add Repeat Security

More information

Mysql Tutorial Show Table Like Name Not >>>CLICK HERE<<<

Mysql Tutorial Show Table Like Name Not >>>CLICK HERE<<< Mysql Tutorial Show Table Like Name Not SHOW TABLES LIKE '%shop%' And the command above is not working as Table name and next SHOW CREATE TABLEcommand user889349 Apr 18. If you do not want to see entire

More information

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines Introduction to UNIX Logging in Basic system architecture Getting help Intro to shell (tcsh) Basic UNIX File Maintenance Intro to emacs I/O Redirection Shell scripts Logging in most systems have graphical

More information

Using SQL Developer. Oracle University and Egabi Solutions use only

Using SQL Developer. Oracle University and Egabi Solutions use only Using SQL Developer Objectives After completing this appendix, you should be able to do the following: List the key features of Oracle SQL Developer Identify menu items of Oracle SQL Developer Create a

More information

DATABASE SYSTEMS. Database programming in a web environment. Database System Course,

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, DATABASE SYSTEMS Database programming in a web environment Database System Course, 2016-2017 AGENDA FOR TODAY The final project Advanced Mysql Database programming Recap: DB servers in the web Web programming

More information

USING NGC WITH GOOGLE CLOUD PLATFORM

USING NGC WITH GOOGLE CLOUD PLATFORM USING NGC WITH GOOGLE CLOUD PLATFORM DU-08962-001 _v02 April 2018 Setup Guide TABLE OF CONTENTS Chapter 1. Introduction to... 1 Chapter 2. Deploying an NVIDIA GPU Cloud Image from the GCP Console...3 2.1.

More information

Oracle Big Data Cloud Service, Oracle Storage Cloud Service, Oracle Database Cloud Service

Oracle Big Data Cloud Service, Oracle Storage Cloud Service, Oracle Database Cloud Service Demo Introduction Keywords: Oracle Big Data Cloud Service, Oracle Storage Cloud Service, Oracle Database Cloud Service Goal of Demo: Oracle Big Data Preparation Cloud Services can ingest data from various

More information

PYTHON MYSQL DATABASE ACCESS

PYTHON MYSQL DATABASE ACCESS PYTHON MYSQL DATABASE ACCESS http://www.tuto rialspo int.co m/pytho n/pytho n_database_access.htm Copyrig ht tutorialspoint.com T he Python standard for database interfaces is the Python DB-API. Most Python

More information

OCS INSTALLATION GUIDE

OCS INSTALLATION GUIDE OCS INSTALLATION GUIDE 1. Application database preparation... 2 1.1. Oracle Database 11g... 2 1.2 MySQL 5.5+... 2 2. System initialisation... 3 2.1. Application file storage... 3 2.2. Security tool installation...

More information

Console Guide. Version 4.4

Console Guide. Version 4.4 Console Guide Version 4.4 Table of Contents Preface 4 Who Should Use This Guide 4 How This Guide is Organized 4 Document Feedback 4 Document Conventions Used in This Guide 5 Connecting to the Database

More information

mysql Certified MySQL 5.0 DBA Part I

mysql Certified MySQL 5.0 DBA Part I mysql 005-002 Certified MySQL 5.0 DBA Part I http://killexams.com/exam-detail/005-002 QUESTION: 116 Which of the following correctly defines the general difference between a read lock and a write lock?

More information

DOCUMENT REVISION HISTORY

DOCUMENT REVISION HISTORY DOCUMENT REVISION HISTORY Rev. No. Changes Date 000 New Document 10 Jan. 2011 001 Document Revision: 06 Jun. 2011 - Addition of section on MYSQL backup and restore. 002 Document Revision: 22 Jul. 2011

More information

Helsinki 19 Jan Practical course in genome bioinformatics DAY 0

Helsinki 19 Jan Practical course in genome bioinformatics DAY 0 Helsinki 19 Jan 2017 529028 Practical course in genome bioinformatics DAY 0 This document can be downloaded at: http://ekhidna.biocenter.helsinki.fi/downloads/teaching/spring2017/exercises_day0.pdf The

More information

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA)

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA) MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA) Prerequisites Have some experience with relational databases and SQL What will you learn? The MySQL for Database Administrators

More information

Manual Backup Sql Server 2000 Command Line Restore Database

Manual Backup Sql Server 2000 Command Line Restore Database Manual Backup Sql Server 2000 Command Line Restore Database Overview Creating command line backups is very straightforward. There are basically two commands that allow you to create backups, BACKUP DATABASE.

More information

Locate your Advanced Tools and Applications

Locate your Advanced Tools and Applications MySQL Manager is a web based MySQL client that allows you to create and manipulate a maximum of two MySQL databases. MySQL Manager is designed for advanced users.. 1 Contents Locate your Advanced Tools

More information

Dell Protected Workspace Management

Dell Protected Workspace Management Dell Protected Workspace Management Upgrade Guide Dell Protected Workspace Management v4.1 Created and Maintained by Invincea, Inc. Proprietary For Customer Use Only Dell Protected Workspace Management

More information

Contents Upgrading BFInventory iii

Contents Upgrading BFInventory iii Upgrading ii Upgrading Contents Upgrading.............. 1 Upgrading to IBM Tivoli Endpoint Manager for Software Use Analysis version 2.0....... 1 Planning and preparing for the upgrade.... 2 Installing

More information

HPC Introductory Course - Exercises

HPC Introductory Course - Exercises HPC Introductory Course - Exercises The exercises in the following sections will guide you understand and become more familiar with how to use the Balena HPC service. Lines which start with $ are commands

More information

Traffic violations revisited

Traffic violations revisited Traffic violations revisited November 9, 2017 In this lab, you will once again extract data about traffic violations from a CSV file, but this time you will use SQLite. First, download the following files

More information

Check Table Oracle Database Status Windows Script

Check Table Oracle Database Status Windows Script Check Table Oracle Database Status Windows Script About the catupgrd.sql Script in Earlier Releases of Oracle Database CHECK_PLUG_COMPATIBILITY function to determine whether these requirements Using DBUA

More information

Using the Scripting Interface

Using the Scripting Interface CHAPTER 5 This chapter describes the scripting interface that ACS 5.3 provides to perform bulk operations on ACS objects using the Import and Export features. ACS provides the import and export functionalities

More information

Database Explorer Quickstart

Database Explorer Quickstart Database Explorer Quickstart Last Revision: Outline 1. Preface 2. Requirements 3. Introduction 4. Creating a Database Connection 1. Configuring a JDBC Driver 2. Creating a Connection Profile 3. Opening

More information

MySQL On Crux Part II The GUI Client

MySQL On Crux Part II The GUI Client DATABASE MANAGEMENT USING SQL (CIS 331) MYSL ON CRUX (Part 2) MySQL On Crux Part II The GUI Client MySQL is the Structured Query Language processor that we will be using for this class. MySQL has been

More information

Lesson 3 Transcript: Part 1 of 2 - Tools & Scripting

Lesson 3 Transcript: Part 1 of 2 - Tools & Scripting Lesson 3 Transcript: Part 1 of 2 - Tools & Scripting Slide 1: Cover Welcome to lesson 3 of the db2 on Campus lecture series. Today we're going to talk about tools and scripting, and this is part 1 of 2

More information

Operational DBA In a Nutshell - HandsOn Reference Guide

Operational DBA In a Nutshell - HandsOn Reference Guide 1/12 Operational DBA In a Nutshell - HandsOn Reference Guide Contents 1 Operational DBA In a Nutshell 2 2 Installation of MySQL 2 2.1 Setting Up Our VM........................................ 2 2.2 Installation

More information

Installing Connector on Linux

Installing Connector on Linux CHAPTER 3 Revised: July 15, 2010 Overview This chapter provides a step-by-step guide to installing the Linux Connector on x86 and x86-64 servers running either Red Hat Enterprise Linux version 5 or Cent

More information

The INSERT INTO Method

The INSERT INTO Method Article: Transferring Data from One Table to Another Date: 20/03/2012 Posted by: HeelpBook Staff Source: Link Permalink: Link SQL SERVER TRANSFERRING DATA FROM ONE TABLE TO ANOTHER Every DBA needs to transfer

More information

Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ]

Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ] s@lm@n Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ] Oracle 1z0-883 : Practice Test Question No : 1 Consider the Mysql Enterprise Audit plugin. You are checking

More information

MySQL 5.0 Certification Study Guide

MySQL 5.0 Certification Study Guide MySQL 5.0 Certification Study Guide Paul DuBois, Stefan Hinz, and Carsten Pedersen MySQC Press 800 East 96th Street, Indianapolis, Indiana 46240 USA Table of Contents Introduction 1 About This Book 1 Sample

More information

Log Analyzer Reference

Log Analyzer Reference IceWarp Unified Communications Reference Version 11 Published on 11/25/2013 Contents... 4 Quick Start... 5 Required Steps... 5 Optional Steps... 6 Advanced Configuration... 8 Log Importer... 9 General...

More information

LiveNX Upgrade Guide from v5.2.0 to v5.2.1

LiveNX Upgrade Guide from v5.2.0 to v5.2.1 LIVEACTION, INC. LiveNX Upgrade Guide from v5.2.0 to v5.2.1 UPGRADE LiveAction, Inc. 3500 Copyright WEST BAYSHORE 2016 LiveAction, ROAD Inc. All rights reserved. LiveAction, LiveNX, LiveUX, the LiveAction

More information

FileCatalyst HotFolder Quickstart

FileCatalyst HotFolder Quickstart FileCatalyst HotFolder Quickstart Contents 1 Installation... 2 1.1 Verify Java Version... 2 1.2 Perform Installation... 3 1.2.1 Windows... 3 1.2.2 Mac OSX... 3 1.2.3 Linux, Solaris, *nix... 3 1.3 Enable

More information

Contact: Method Park Wetterkreuz 19a Erlangen Germany. Phone Fax Internet

Contact: Method Park Wetterkreuz 19a Erlangen Germany. Phone Fax Internet System Requirements Contact: Method Park Wetterkreuz 19a 91058 Erlangen Germany Phone +49-9131-97206-550 Fax +49-9131-97206-200 E-mail stages-support@methodpark.de Internet www.methodpark.de Version: 7.1

More information

SQLITE PERL TUTORIAL

SQLITE PERL TUTORIAL http://www.tutorialspoint.com/sqlite/sqlite_perl.htm SQLITE PERL TUTORIAL Copyright tutorialspoint.com Installation The SQLite3 can be integrated with Perl using Perl DBI module, which is a database access

More information

Using WestGrid from the desktop Oct on Access Grid

Using WestGrid from the desktop Oct on Access Grid Using WestGrid from the desktop Oct 11 2007 on Access Grid Introduction Simon Sharpe, UCIT Client Services The best way to contact WestGrid support is to email support@westgrid.ca This seminar gives you

More information

Bitnami JRuby for Huawei Enterprise Cloud

Bitnami JRuby for Huawei Enterprise Cloud Bitnami JRuby for Huawei Enterprise Cloud Description JRuby is a 100% Java implementation of the Ruby programming language. It is Ruby for the JVM. JRuby provides a complete set of core built-in classes

More information

PERL DATABASE ACCESS

PERL DATABASE ACCESS http://www.tutialspoint.com/perl/perl_database.htm PERL DATABASE ACCESS Copyright tutialspoint.com This tutial will teach you how to access a database inside your Perl script. Starting from Perl 5 it has

More information

Ebook : Overview of application development. All code from the application series books listed at:

Ebook : Overview of application development. All code from the application series books listed at: Ebook : Overview of application development. All code from the application series books listed at: http://www.vkinfotek.com with permission. Publishers: VK Publishers Established: 2001 Type of books: Develop

More information

Agilent Genomic Workbench 6.0

Agilent Genomic Workbench 6.0 Agilent Genomic Workbench 6.0 Standard Edition Installation Guide Notices Agilent Technologies, Inc. 2010 No part of this manual may be reproduced in any form or by any means (including electronic storage

More information

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015 MySQL Database Administrator Training Day 1: AGENDA Introduction to MySQL MySQL Overview MySQL Database Server Editions MySQL Products MySQL Services and Support MySQL Resources Example Databases MySQL

More information

Model Question Paper. Credits: 4 Marks: 140

Model Question Paper. Credits: 4 Marks: 140 Model Question Paper Subject Code: BT0075 Subject Name: RDBMS and MySQL Credits: 4 Marks: 140 Part A (One mark questions) 1. MySQL Server works in A. client/server B. specification gap embedded systems

More information

Protecting MySQL network traffic. Daniël van Eeden 25 April 2017

Protecting MySQL network traffic. Daniël van Eeden 25 April 2017 Protecting MySQL network traffic Daniël van Eeden 25 April 2017 Booking.com at a glance Started in 1996; still based in Amsterdam Member of the Priceline Group since 2005 (stock: PCLN) Amazing growth;

More information

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.

Configuring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment Objectives After completing this lesson, you should be able to: Use Enterprise Manager to: Create additional listeners Create Oracle Net Service aliases Configure

More information

Senthil Kumaran S

Senthil Kumaran S Senthil Kumaran S http://www.stylesen.org/ Agenda History Basics Control Flow Functions Modules History What is Python? Python is a general purpose, object-oriented, high level, interpreted language Created

More information

CO MySQL for Database Administrators

CO MySQL for Database Administrators CO-61762 MySQL for Database Administrators Summary Duration 5 Days Audience Administrators, Database Designers, Developers Level Professional Technology Oracle MySQL 5.5 Delivery Method Instructor-led

More information

INSTALLATION GUIDE Online Collection Software for European Citizens' Initiatives

INSTALLATION GUIDE Online Collection Software for European Citizens' Initiatives INSTALLATION GUIDE Online Collection Software for European Citizens' Initiatives 1. Application database preparation... 2 1.1. Oracle Database 11g... 2 1.2. MySQL 5.5+... 2 2. System initialisation...

More information

High Performance Computing Cluster Basic course

High Performance Computing Cluster Basic course High Performance Computing Cluster Basic course Jeremie Vandenplas, Gwen Dawes 30 October 2017 Outline Introduction to the Agrogenomics HPC Connecting with Secure Shell to the HPC Introduction to the Unix/Linux

More information

EMS Installation. Workstation Requirements CHAPTER. EMS Lite (Windows 95/98) EMS NT (Windows NT 4.0)

EMS Installation. Workstation Requirements CHAPTER. EMS Lite (Windows 95/98) EMS NT (Windows NT 4.0) CHAPTER 2 EMS Installation This chapter provides instructions for installing the Element Management System (EMS) software on a user workstation. Workstation Requirements The following sections list the

More information

Oracle 1Z MySQL 5.6 Database Administrator. Download Full Version :

Oracle 1Z MySQL 5.6 Database Administrator. Download Full Version : Oracle 1Z0-883 MySQL 5.6 Database Administrator Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-883 D. The mysqld binary was not compiled with SSL support. E. The server s SSL certificate

More information

Archivists Toolkit Internal Database

Archivists Toolkit Internal Database Archivists Toolkit Internal Database The Archivists Toolkit now includes (AT 2.0, update 9 and later), support for an internal database based on HyperSQL 2.0 (HSQLDB). HyperSQL is a small, reliable, high

More information

Course Outline. MySQL Database Administration & Design. Course Description: Pre-requisites: Course Content:

Course Outline. MySQL Database Administration & Design. Course Description: Pre-requisites: Course Content: MySQL Database Administration & Design Course Description: MySQL is the open source community's most popular Relational Database Management System (RDBMS) offering, and is a key part of LAMP - Linux, Apache,

More information

FUJITSU Cloud Service S5 Installation and Configuration of MySQL on a CentOS VM

FUJITSU Cloud Service S5 Installation and Configuration of MySQL on a CentOS VM FUJITSU Cloud Service S5 Installation and Configuration of MySQL on a CentOS VM This guide details the steps required to install and configure MySQL on a CentOS VM Introduction The FUJITSU Cloud Service

More information

Setup of PostgreSQL, pgadmin and importing data. CS3200 Database design (sp18 s2) Version 2/9/2018

Setup of PostgreSQL, pgadmin and importing data. CS3200 Database design (sp18 s2)   Version 2/9/2018 Setup of PostgreSQL, pgadmin and importing data CS3200 Database design (sp18 s2) https://course.ccs.neu.edu/cs3200sp18s2/ Version 2/9/2018 1 Overview This document covers 2 issues: 1) How to install PostgreSQL:

More information

PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008.

PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008. PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008. Outline. How cookies work. Cookies in PHP. Sessions. Databases. Cookies. Sometimes it is useful to remember a client when it comes

More information

pymonetdb Documentation

pymonetdb Documentation pymonetdb Documentation Release 1.0rc Gijs Molenaar June 14, 2016 Contents 1 The MonetDB MAPI and SQL client python API 3 1.1 Introduction............................................... 3 1.2 Installation................................................

More information

Database Application Development

Database Application Development CS 500: Fundamentals of Databases Database Application Development supplementary material: Database Management Systems Sec. 6.2, 6.3 DBUtils.java, Student.java, Registrar.java, RegistrarServlet.java, PgRegistrar.sql

More information

Parallel Programming Pre-Assignment. Setting up the Software Environment

Parallel Programming Pre-Assignment. Setting up the Software Environment Parallel Programming Pre-Assignment Setting up the Software Environment Authors: B. Wilkinson and C. Ferner. Modification date: Aug 21, 2014 (Minor correction Aug 27, 2014.) Software The purpose of this

More information

Siemens PLM Software. HEEDS MDO Setting up a Windows-to- Linux Compute Resource.

Siemens PLM Software. HEEDS MDO Setting up a Windows-to- Linux Compute Resource. Siemens PLM Software HEEDS MDO 2018.04 Setting up a Windows-to- Linux Compute Resource www.redcedartech.com. Contents Introduction 1 On Remote Machine B 2 Installing the SSH Server 2 Configuring the SSH

More information

Online Backup Manager v7 Office 365 Exchange Online Backup & Restore Guide for Windows

Online Backup Manager v7 Office 365 Exchange Online Backup & Restore Guide for Windows Online Backup Manager v7 Office 365 Exchange Online Backup & Restore Guide for Windows Copyright Notice The use and copying of this product is subject to a license agreement. Any other use is prohibited.

More information

Automatic MySQL Schema Management with Skeema. Evan Elias Percona Live, April 2017

Automatic MySQL Schema Management with Skeema. Evan Elias Percona Live, April 2017 Automatic MySQL Schema Management with Skeema Evan Elias Percona Live, April 2017 What is Schema Management? Organize table schemas in a repo Execution of all DDL, on the correct MySQL instances, with

More information

9.4 Authentication Server

9.4 Authentication Server 9 Useful Utilities 9.4 Authentication Server The Authentication Server is a password and account management system for multiple GV-VMS. Through the Authentication Server, the administrator can create the

More information

Pagina 1 di 5 13.1.4. INSERT Syntax 13.1.4.1. INSERT... SELECT Syntax 13.1.4.2. INSERT DELAYED Syntax INSERT [LOW_PRIORITY DELAYED HIGH_PRIORITY] [IGNORE] [INTO] tbl_name [(col_name,...)] VALUES ({expr

More information

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016 DATABASE SYSTEMS Introduction to MySQL Database System Course, 2016 AGENDA FOR TODAY Administration Database Architecture on the web Database history in a brief Databases today MySQL What is it How to

More information

Perl Mysql Dbi Insert Last Id >>>CLICK HERE<<<

Perl Mysql Dbi Insert Last Id >>>CLICK HERE<<< Perl Mysql Dbi Insert Last Id i am not able to get value in last_insert_id() after insert operation in sybase database. Taken from MySQL Perl DBI last_insert_id. +e(),'fix2mq')") or $DBI::err and die($dbi::errstr),

More information

Access Control System ACCO NET Installation Manual

Access Control System ACCO NET Installation Manual Access Control System ACCO NET Installation Manual system version 1.5 acco_net_i_en 11/18 SATEL sp. z o.o. ul. Budowlanych 66 80-298 Gdańsk POLAND tel. +48 58 320 94 00 www.satel.eu SATEL aims to continually

More information

Database Setup in IRI Workbench 1

Database Setup in IRI Workbench 1 Database Setup in IRI Workbench Two types of database connectivity are required by the IRI Workbench. They are: Microsoft Open Database Connectivity (ODBC) for data movement between the database and IRI

More information

Installation of Perl and BioPerl with modules for MySQL databases (Windows XP)

Installation of Perl and BioPerl with modules for MySQL databases (Windows XP) Installation of Perl and BioPerl with modules for MySQL databases (Windows XP) 1. Installation of ActiveState Perl 1 2. Installation of Perl modules and BioPerl 2 3. Executing Perl scripts 5 4. Installation

More information

Installing, Migrating, and Uninstalling HCM Dashboard

Installing, Migrating, and Uninstalling HCM Dashboard CHAPTER 2 Installing, Migrating, and Uninstalling HCM Dashboard This chapter describes how to install, migrate data from HCM 1.0, and uninstall HCM Dashboard. It includes: HCM Dashboard Server Requirements,

More information

And Parallelism. Parallelism in Prolog. OR Parallelism

And Parallelism. Parallelism in Prolog. OR Parallelism Parallelism in Prolog And Parallelism One reason that Prolog is of interest to computer scientists is that its search mechanism lends itself to parallel evaluation. In fact, it supports two different kinds

More information

Mysql Information Schema Update Time Null >>>CLICK HERE<<< doctrine:schema:update --dump-sql ALTER TABLE categorie

Mysql Information Schema Update Time Null >>>CLICK HERE<<< doctrine:schema:update --dump-sql ALTER TABLE categorie Mysql Information Schema Update Time Null I want to update a MySQL database schema (with MySQL code) but I am unfortunately not sure 'name' VARCHAR(64) NOT NULL 'password' VARCHAR(64) NOT NULL fieldname

More information

docalpha Installation Guide

docalpha Installation Guide ARTSYL DOCALPHA INSTALLATION GUIDE 1. docalpha Architecture Overview... 2 1.1. docalpha Server Components... 4 1.2. docalpha Production Environment Stations Overview... 4 1.3. docalpha Setup & Administration

More information

7. Run the TRAVERSE Data Migration Utility from TRAVERSE 10.2 into TRAVERSE 10.5.

7. Run the TRAVERSE Data Migration Utility from TRAVERSE 10.2 into TRAVERSE 10.5. Overview Use the TRAVERSE Data Migration Utility to convert and append OSAS 6.1x, 6.5x or 7.0x data to TRAVERSE data. Follow these steps to import OSAS 6.1x, 6.5x or 7.0x data into TRAVERSE: 1. Make sure

More information

Using CSC Environment Efficiently,

Using CSC Environment Efficiently, Using CSC Environment Efficiently, 13.2.2017 1 Exercises a) Log in to Taito either with your training or CSC user account, either from a terminal (with X11 forwarding) or using NX client b) Go to working

More information

Juniper Secure Analytics Patch Release Notes

Juniper Secure Analytics Patch Release Notes Juniper Secure Analytics Patch Release Notes 2014.5 June 2015 2014.5.r1.20150605140117 patch resolves several known issues in Juniper Secure Analytics (JSA). Contents Installing 2014.5.r1 Patch..............................................

More information

Fix MySQL ibdata file size - ibdata1 file growing too large, preventing ibdata1 from eating all your server disk space

Fix MySQL ibdata file size - ibdata1 file growing too large, preventing ibdata1 from eating all your server disk space Fix MySQL ibdata file size - ibdata1 file growing too large, preventing ibdata1 from eating all your server disk space Author : admin If you're a webhosting company hosting dozens of various websites that

More information

Lecture 5. Monday, September 15, 2014

Lecture 5. Monday, September 15, 2014 Lecture 5 Monday, September 15, 2014 The MySQL Command So far, we ve learned some parts of the MySQL command: mysql [database] [-u username] p [-- local-infile]! Now let s go further 1 mysqldump mysqldump

More information

Working with Databases

Working with Databases Working with Databases TM Control Panel User Guide Working with Databases 1 CP offers you to use databases for storing, querying and retrieving information. CP for Windows currently supports MS SQL, PostgreSQL

More information

LiveNX Upgrade Guide from v5.1.2 to v Windows

LiveNX Upgrade Guide from v5.1.2 to v Windows LIVEACTION, INC. LiveNX Upgrade Guide from v5.1.2 to v5.1.3 - Windows UPGRADE LiveAction, Inc. 3500 Copyright WEST BAYSHORE 2016 LiveAction, ROAD Inc. All rights reserved. LiveAction, LiveNX, LiveUX, the

More information