Linux is popular in a variety of operating systems. As a result, a growing number of mainstream database vendors are porting their products to Linux operating system platforms, such as Sybase, Oracle, and IBM. In addition, more and more free software can be used. The Free Software library already includes Sybase ASE for Linux, Oracle for
A test environment
Operating system Red Hat as 5.5
Database
SQLServer2000 installed in Windows XP Professional, I assume that the database has a user autotest password is autotest, the database file is Atsdb
Attention:
1 MS has never provided SQL Server for Linux, so don't try to install SQL Server on a Linux system, but you can connect via ODBC
SQL Server database for Windows system;
2 installed SQL
on the right side of the SQL bar, and then click the Human button to run the SQL statement. The results will be displayed in the results column, which can be seen in the following figure:
Figure five: Using DataManager to browse the database
Step Fourth: Use the ISQL program to view the database
UNIXODBC also provides a procedure for viewing the database under the command table, which is isql, as foll
1. Install unixodbc and MySQL ODBC Connector
Yum install unixodbc-devel mysql-connector-ODBC
2. Create a soft connection
Ln-s libmydbc5.so libmyodbc. So
3. Create the Database "freeswitch" on the remote MySQL server and create a password user.
4. Add the following DSN/Etc/ODBC. ini and/root/. ODBC. ini
[Freeswitch]Driver = MySQLServer = 192.168.0.104Port = 3306Database = freeswitchUser = FSUPassword = 123456Option = 3
5.Run the following command to test the connection:
How to start em and isqlplus of Oracle10g in Linux:
Note: $ ORACLE_HOME is the installation path of oracle.
1. Use EM (enterprise Management)
1.1 start EM
$ ORACLE_HOME/bin/emctl start dbconsole
If the following information appears, it indicates that the service is started.
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.1.0.3.0
Copyright (c) 1996,200 4 Oracle Corporation. All rights reserved.
Http://localhost.localdomain: 5500
Part 1 Operating System -------- LINUX 1. redhat linux server 7.2 Installation1. Use the first REDHAT installation disk to boot from the CDROM Installation Guide2. Use the default installation language ENGLISH and add Simplified Chinese as the system interface.3. RedHat 7.2 has two major installation methods: Install or Upgrade. Select INSTALL.4. If you select SERVER> SERVER type, all partitions on all hard
Linux services)It is important for Linux users. Disabling unnecessary services can make Linux run more efficiently, but not all Linux services can be disabled. After installing centos Linux today, we found that many services were started when
Sybase to log on to your Linux computer, the computer will display
At this point, start the Xwindow environment,
Bash-2.04$startx
In the Xwindow environment, run/opt/sybase-11.9.2/bin/dsedit, select Add New Server Entry,
Server Name:devhost (can write freely)Then choose Add New Network Transport,Transport TYPE:TCPHost name:211.5.6.50 (IP for server)Port number:5000 (the ports that the Sybase server listens on)
When you are fin
There are two ODBC types in linux: unixODBC and iodbc. Because wxGTK supports iodbc, you must install iodbc before installing wxGTK. After
There are two ODBC types in linux: unixODBC and iodbc. Because wxGTK supports iodbc, you must install iodbc before installing wxGTK. After
Install
There are two ODBC types in linux: unixODBC and iodbc. Because wxGTK suppo
Linux-(2) Basic file operations in Linux, linux-linux
In linux, everything is files, directories are files, and hardware is files. Therefore, basic file operations are especially important.
1. List the contents of the directory:
Ls
Parameters:
-A: displays all files (includ
Logout Exit SystemGedit Text Editor ToolsUname–r View kernel version information, uname–a more detailsCat/proc/cpuinfo viewing CPUsCat/proc/meminfo Viewing memoryHostname Viewing host namesIfconfig eth0 view eth0 IP AddressAlias ls= ' ls–ll ' setting aliasesTo view the path of the current terminal: TTYView current Shell:echo $SHELLAll Shell:cat/etc/shells under the current systemView CentOS System hostname Format: Echo $PS 1Distinguish internal or external commands: Type CDWhich find the locatio
Oracle 10g Linux Installation notes
I. Create a user and a directory
1. Create user group#/Usr/sbin/groupadd oinstall#/Usr/sbin/groupadd DBA2. Create a user and set a password#/Usr/sbin/useradd-G oinstall-g dba Oracle# Passwd Oracle3. Create a directory (which can be divided into two subdirectories in one directory)/Ora10g/APP/Oracle/Ora10b/oradata4. Set directory permission# Chown-r ORACLE: oinstall/ora10g/APP/Oracle/ora10b/oradata# Chmod-r 775/ora10
the connection to the DSN before using it. ODBC DSN is divided into four categories-System DSN, User DSN, File DSN, and perhaps a DSN created temporarily by the Connection.Open statement. In Unixodbc, a system DSN is stored in the/etc/odbc.ini, and a user DSN is stored in ~/.odbc.ini. Typically, programs that provide services outside use the System DSN.
Next we want to configure a DSN to store the CDR records for ODBC. First create a database in MySQL, then install and configure UNIXODBC. Becau
/freetds/lib/libtdsodbc.soSETUP64 =/usr/lib64/libtdss.soFileUsage = 1Usagecount = 2Then use Odbcinst to install the driver:Odbcinst-i-d-f 1.txtAfter the execution, you can check the/etc/odbcinst.ini, if you can see the contents of the TDS, the configuration is not a problemYou can also check the drive with Odbcinst-q-DCreate a template file for the data source with the following contents:[Xiaosu]Driver = TDSDescrption = Sybase ServerTrace = NoServer = IP AddressDatabase = DatabasesPort = port nu
.
As we all know,linux system everything is a file, so each process has its file descriptor, The Nginx process writes its own file descriptor to the Nginx.pid, and we need to tell Nginx to reopen a new log file (the configuration details of the log file can be seen here, simply by letting the log record what. So we need this directive:kill -USR1 `cat ${pid_path}`This instruction means: first cat to Nginx PID, is an integer, and then send the signal
installing oracle
Su-oracleCd database./RunInstaller
In Database Configuration Assistant, Password management... management
Modify the user lock and unlock scott.
Use Pietty and root to log on and run subsequent script files,
/U01/app/oracle/oraInventory/orainstRoot. sh
/U01/app/oracle/product/10.2.0/root. sh
Tip:
ISQL * Plus URL:
Http://ora.tralinhotel.cn: 5560/isqlplus
ISQL * Plus dba url:
Http://ora.tra
Becoming a Senior Programmer proficient in Linux programming has always been the goal of many friends. According to statistics from chinacache, the monthly salary of Linux programmers in Beijing is 1.8 times that of Windows programmers, 2.6 times that of Java programmers, and 2.9 times that of Windows programmers. At the same time, the data shows that with the increase of work experience, the income gap bet
Install
There are two ODBC types in linux: unixODBC and iodbc. Because wxGTK supports iodbc, you must install iodbc before installing wxGTK. When freetds is installed later, unixODBC may also be installed based on the environment and dependency. The ODBC configuration files modified by iodbc and unixODBC are both/etc/odbc. ini and/etc/odbcinst. ini, these two are ODBC driver managers, there is no conflict, but if you want to use wxODBC for ODBC develo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.