Hiển thị các bài đăng có nhãn MySQL. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn MySQL. Hiển thị tất cả bài đăng

21/03/2022

Cài mysql 8.0 vào server AlmaLinux


 Các bước cài đặt mysql server 8.0 vào server AlmaLinux

Phiên bản hiện tại, 8.0.26

bước 1) Cập nhật server

sudo dnf update

bước 2) Kiểm tra danh sách module

sudo dnf module list mysql

bước 3) Enable module

sudo dnf module enable mysql:8.0

bước 4) Cài đặt

sudo dnf install @mysql

bước 5) enable and start

sudo systemctl enable mysqld

sudo systemctl start mysqld 

bước 6) Kiểm tra trạng thái

sudo systemctl status mysqld 

bước 7) thiết lập bảo mật

sudo mysql_secure_installation

bước 8) kết nối mysql

 sudo mysql -u root -p

bước 9) kiểm tra mysql version

mysql>  SELECT VERSION ();

===> hoàn tất

04/01/2022

the MySQL service on local computer started and then stopped.

The MySQL service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

After installing it by mysqld --install. Try this mysqld --initialize. We got the same problem but it's now working.

Also remember to give NETWORK SERVICE permission to the folder:
  1. Right-click Data folder
  2. Select Properties
  3. Select Security tab
  4. Click Advanced
  5. Click Change Permissions...
  6. Click Add...
  7. Type NETWORK SERVICE
  8. Click Check Names
  9. Click OK
  10. Select Full Control
  11. Click OK – four times
  12. Start MySQL service

09/12/2021

Mysql Connector NET version

 Lưu ý về mysql connector cho .net

khi cài đặt mysql server, connector và application .net của bạn

refer to: https://vnn.me/sTBO0Aw

08/10/2021

mysql error: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.

 Khi import/restore mysql database lớn đôi khi gặp lỗi này

có thể cấu hình lại file config của mysql như sau:

innodb_log_file_size=512M;
 innodb_strict_mode=0;

thêm: SET GLOBAL max_allowed_packet=134217728;

restart mysql và kiểm tra lại:
SELECT @@max_allowed_packet;
SELECT @@innodb_log_file_size;
SELECT @@innodb_strict_mode;

09/03/2019

Sqlyog Community Edition

 Tool miễn Sqlyog bản miễn phí cho anh dev làm việc với mysql

UI cũng dễ xài, tính năng free cũng hơi hơi hạn chế nhưng cơ bản là dùng được (y)

xem thêm thông tin tại github: https://github.com/webyog/sqlyog-community

nếu đã biết về sqlgoy, download dùng ngay không cần review tại đây:
https://github.com/webyog/sqlyog-community/wiki/Downloads

Đăng ký tên miền, hosting, máy chủ, thiết kế lập trình website theo yêu cầu

 Chính thức trở thành đơn vị cung cấp dịch vụ đăng ký tên miền quốc tế, tên miền Việt Nam hosting, máy chủ, cloud hosting, cloud server, ema...