centos中rpm安装mysql oraclexe安装配置

mysql :

mysqladmin -u root password 'root'

create user peter identified by 'peter';

grant all privileges on *.* to 'peter'@'%' with grant option;

flush privileges;



export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export TNS_ADMIN=/usr/lib/oracle
export PATH=$PATH:$ORACLE_HOME:$ORACLE_HOME/bin
export ORACLE_SID=XE
export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`

你可能感兴趣的:(oracle,mysql,centos,user,Path,library)