- Nothing Phone (2) - több, mint elsőre látszik
- Fotók, videók mobillal
- Android szakmai topik
- Várható a HyperOS a Poco F3-ra is
- A vártnál kevesebb iPad Pro fogyhat
- OnePlus 8T – fazonigazítás
- Motorola Edge 30 Neo - wake up, Jr...
- Huawei P30 Pro - teletalálat
- Xiaomi 13T és 13T Pro - nincs tétlenkedés
- Samsung Galaxy S24 Ultra - ha működik, ne változtass!
Hirdetés
-
Három éve fontos döntést hozott az AI-ról az Apple
it A Bloomberg szerint saját chipekkel működtetné az AI-szervereket az Apple.
-
Megérkezett a Corsair új M.2-es SSD-je, és mindennek mondható, csak lassúnak nem
ph Az MP szériás konstrukció egyelőre csak 4 TB-os tárhelymérettel tehető kosárba, és lineáris lemezműveletekben bőven 10 GB/s felett teljesít.
-
Toyota Corolla Touring Sport 2.0 teszt és az autóipar
lo Némi autóipari kitekintés után egy középkategóriás autót mutatok be, ami az észszerűség műhelyében készül.
-
Mobilarena
TP-Link WR1043ND - N450 router
Új hozzászólás Aktív témák
-
vargalex
Topikgazda
Hi!
Nálam a MYSQL telepítés így néz ki:
root@D-Link:/opt/data# opkg install mysql-server
Installing mysql-server (5.0.18-3) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages//mysql-server_5.0.18-3_ar71xx.ipk.
Installing libmysqlclient (5.0.18-3) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages//libmysqlclient_5.0.18-3_ar71xx.ipk.
Configuring libmysqlclient.
Configuring mysql-server.
root@D-Link:/opt/data#vi /etc/my.conf
[client]
port = 3306
socket = /var/run/mysqld.sock
[mysqld]
user = root
socket = /var/run/mysqld.sock
port = 3306
basedir = /usr
############ Don't put this on the NAND #############
# Figure out where you are going to put the databases
# And run mysql_install_db --force
datadir = /opt/data/mysql/
######### This should also not go on the NAND #######
tmpdir = /opt/data/tmp/
skip-external-locking
bind-address = 127.0.0.1
# Fine Tuning
key_buffer = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
# Here you can see queries with especially long duration
#log_slow_queries = /var/log/mysql/mysql-slow.log
#long_query_time = 2
#log-queries-not-using-indexes
# The following can be used as easy to replay backup logs or for replication.
#server-id = 1
#log_bin = /var/log/mysql/mysql-bin.log
#expire_logs_days = 10
#max_binlog_size = 100M
#binlog_do_db = include_database_name
#binlog_ignore_db = include_database_name
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
[mysql]
#no-auto-rehash # faster start of mysql but no tab completition
[isamchk]
key_buffer = 16M
root@D-Link:/opt/data# ls -las
4 drwxr-xr-x 2 root root 4096 Nov 2 15:16 .
4 drwxr-xr-x 10 root root 4096 Nov 2 14:50 ..
root@D-Link:/opt/data# mkdir mysql
root@D-Link:/opt/data# mkdir tmp
root@D-Link:/opt/data# mysql_install_db --force
/usr/bin/mysql_install_db: line 151: /bin/hostname: not found
Installing all prepared tables
Fill help tables
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
root@D-Link:/opt/data#
root@D-Link:/opt/data# cd mysql
root@D-Link:/opt/data/mysql# ls -las
4 drwxr-xr-x 4 root root 4096 Nov 2 15:16 .
4 drwxr-xr-x 4 root root 4096 Nov 2 15:16 ..
4 drwx------ 2 root root 4096 Nov 2 15:16 mysql
4 drwx------ 2 root root 4096 Nov 2 15:16 test
root@D-Link:/opt/data/mysql# /etc/init.d/mysqld start
root@D-Link:/opt/data/mysql# mysqladmin -u root password mypass
root@D-Link:/opt/data/mysql# mysqladmin -u root --password=mypass create mydatabase
root@D-Link:/opt/data/mysql# ls -las
4 drwxr-xr-x 5 root root 4096 Nov 2 15:19 .
4 drwxr-xr-x 4 root root 4096 Nov 2 15:16 ..
4 -rw-rw---- 1 root root 6 Nov 2 15:18 D-Link.pid
5120 -rw-rw---- 1 root root 5242880 Nov 2 15:18 ib_logfile0
5120 -rw-rw---- 1 root root 5242880 Nov 2 15:18 ib_logfile1
10240 -rw-rw---- 1 root root 10485760 Nov 2 15:18 ibdata1
4 drwx------ 2 root root 4096 Nov 2 15:19 mydatabase
4 drwx------ 2 root root 4096 Nov 2 15:16 mysql
4 drwx------ 2 root root 4096 Nov 2 15:16 test
root@D-Link:/opt/data/mysql#Látszik, hogy megy a dolog.
Ha a hibaüzenet zavar, akkor megcsinálhatod a hostname-t. A /bin/hostname tartalma legyen ez:echo `uci get system.@system[0].hostname`
Az rtorrent-ért bocsánat, teljesen kiment a fejemből a libtorrent. Jogos a felvetés. A teljes letölthető innen.
Alex
Új hozzászólás Aktív témák
- Lakáshitel, lakásvásárlás
- PlayStation 3
- TCL LCD és LED TV-k
- Nothing Phone (2) - több, mint elsőre látszik
- Fotók, videók mobillal
- LEGO klub
- Kerékpárosok, bringások ide!
- Megérkezett a Corsair új M.2-es SSD-je, és mindennek mondható, csak lassúnak nem
- Forza sorozat (Horizon/Motorsport)
- Politika
- További aktív témák...
- Asus TUF FA507 - 15.6" IPS 144Hz / Ryzen 7 6800H / 16Gb DDR5 4800MHz / RTX 3050 Ti / 1 ÉV GARANCIA
- NVIDIA Dell RTX 2080 Ti 11GB GDDR6 - Beszámítás: OK
- AKCIÓ, BOLTI ÁR ALATT! tado BASIC Okos Radiátor Termosztát 3db-os
- AKCIÓ, BOLTI ÁR ALATT! Xiaomi HUTT C6 ablaktisztító robot
- Dell Precision 7730 Mobil munkaállomás, 17,3" FULL HD, i7-8850H CPU, 32GB DDR4, 512 GB SSD,P3200 6GB
Állásajánlatok
Cég: Promenade Publishing House Kft.
Város: Budapest
Cég: Ozeki Kft.
Város: Debrecen