mysql: query-dxek fitxategi batera pasa

mysql -u USER -p -h HOST DATABASENAME Zerbitzaridxen bertan gordeteko: select * from taula INTO OUTFILE ‘/tmp/mysql.txt’ Bezero moduen konektaten bagara: \T /tmp/mysql_output.txt select * from taula select * from bestetaula \t \T hasteko fitxategidxen gordeten \t akaba fitxategidxen gordeten

CodeIgniter datu basiekaz konekta: oracle eta mysql

database.php … $active_group = “default”; $active_record = TRUE; $db[‘oracle’][‘hostname’] = ‘(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.1)(PORT = 1521)))(CONNECT_DATA =(SERVICE_NAME = DATUBASIEN_IZENA)))’; $db[‘oracle’][‘username’] = “ERABILTZAILEA”; $db[‘oracle’][‘password’] = “PASAHITZA”; $db[‘oracle’][‘database’] = “”; $db[‘oracle’][‘dbdriver’] = “oci8”; $db[‘oracle’][‘dbprefix’] = “”; $db[‘oracle’][‘pconnect’] = TRUE; $db[‘oracle’][‘db_debug’] = TRUE; $db[‘oracle’][‘cache_on’] = FALSE; $db[‘oracle’][‘cachedir’] = “”; //$db[‘oracle’][‘char_set’] = “utf8”; […]