随笔分类 -  database

摘要:#export ORACLE_HOME=/opt/instantclient_12_1#export LD_LIBRARY_PATH=$ORACLE_HOMEimport cx_Oracle conn = cx_Oracle.connect('hr/a@192.168.56.101/xe') cur 阅读全文

posted @ 2016-09-04 23:43 anjuncc 阅读(134) 评论(0) 推荐(0)

摘要:mariadb master/slave replicationhttps://mariadb.com/kb/en/mariadb/setting-up-replication/master :10.109.68.101[mariadb]log-binserver_id=1log-basename= 阅读全文

posted @ 2016-08-30 17:33 anjuncc 阅读(94) 评论(0) 推荐(0)

摘要:sudo docker run --name oraclexe -d -p 49160:22 -p 1521:1521 wnameless/oracle-xe-11g docker https://github.com/GoogleCloudPlatformhttps://dev.aliyun.co 阅读全文

posted @ 2016-08-27 17:49 anjuncc 阅读(139) 评论(0) 推荐(0)

摘要:sudo alien --scripts -d sqldeveloper-4.0.0.13.80-1.noarch.rpm sudo dpkg -i xxx.deb mkdir ~/.sqldeveloper /opt/sqldeveloper/sqldeveloper.sh 阅读全文

posted @ 2016-08-26 13:02 anjuncc 阅读(121) 评论(0) 推荐(0)

摘要:yum install mariadb-server mariadb http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-community-server-5.7.14-1.el7.x86_64.rpmuse mysql;update user se 阅读全文

posted @ 2016-08-24 15:38 anjuncc 阅读(74) 评论(0) 推荐(0)

摘要:1. linux下先装好 http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html rpm -ivh oracle-instantclient11.2-basic-12.1.0.2.0.x86_64.rpmrpm -iv 阅读全文

posted @ 2016-08-22 23:37 anjuncc 阅读(209) 评论(0) 推荐(0)

摘要:http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html rpm -ivh oracle-instantclient11.2-basic-12.1.0.2.0.x86_64.rpmrpm -ivh oracle-inst 阅读全文

posted @ 2016-08-22 22:17 anjuncc 阅读(153) 评论(0) 推荐(0)

导航