MySQL-8.0.11涓嶯avicat Premium瀹夎鏁欑▼

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL-8.0.11涓嶯avicat Premium瀹夎鏁欑▼相关的知识,希望对你有一定的参考价值。

鏍囩锛?a href='http://www.mamicode.com/so/1/code' title='code'>code   block   art   stop   鐜鍙橀噺   completed   3.1   

1. 涓嬭浇mysql

2. 瀹夎MySQL

2.1 瑙e帇瀹夎鍖呭埌瀹夎璺緞

2.2 鍦ㄥ畨瑁呰矾寰勬牴鐩綍涓嬪垱寤簃ysql鍒濆鍖栨枃浠?my.ini

[mysql]
#璁剧疆mysql瀹㈡埛绔粯璁ゅ瓧绗﹂泦`
default-character-set=utf8 
[mysqld]
#璁剧疆3306绔彛
port = 3306 
# 璁剧疆mysql鐨勫畨瑁呯洰褰?basedir=D:/mysql-8.0.11-winx64
# 璁剧疆mysql鏁版嵁搴撶殑鏁版嵁鐨勫瓨鏀剧洰褰?datadir=D:/mysql-8.0.11-winx64/data
# 鍏佽鏈€澶ц繛鎺ユ暟
max_connections=2000
# 鍏佽杩炴帴澶辫触鐨勬鏁般€傝繖鏄负浜嗛槻姝㈡湁浜轰粠璇ヤ富鏈鸿瘯鍥炬敾鍑绘暟鎹簱绯荤粺
max_connect_errors=100
# 鏈嶅姟绔娇鐢ㄧ殑瀛楃闆嗛粯璁や负8姣旂壒缂栫爜鐨刲atin1瀛楃闆?character-set-server=utf8
# 鍒涘缓鏂拌〃鏃跺皢浣跨敤鐨勯粯璁ゅ瓨鍌ㄥ紩鎿?default-storage-engine=INNODB
[client]
# 璁剧疆mysql瀹㈡埛绔繛鎺ユ湇鍔$鏃堕粯璁や娇鐢ㄧ殑绔彛
port=3306
default-character-set=utf8

 

2.3 浠ョ鐞嗗憳韬唤鎵撳紑 cmd 鍛戒护琛屽伐鍏?/h4>
  • 鍏蜂綋鎿嶄綔鏄?span class="Apple-converted-space"> win + Q 鎼?code>cmd 锛屽彸鍑婚€変互绠$悊鍛樿韩浠芥墽琛?涓嶈鐢ㄧ鐞嗗憳韬唤鎵цPowerShell

2.4 鍒囨崲鍒板畨瑁呯殑bin鐩綍

  • 渚嬪: cd D:mysql-8.0.11-winx64in
  • 鑻ュ皢涓婅堪璺緞娣诲姞鍒扮幆澧冨彉閲弍ath,鍒欏彲浠ュ湪浠绘剰鐩綍鎵ц浠ヤ笅鑴氭湰

2.5 鍒濆鍖栨暟鎹簱骞惰幏鍙栧垵濮嬪瘑鐮?/h4>
  • 鍦ㄥ畨瑁呯洰褰?bin涓嬫墽琛屽懡浠わ細mysqld --initialize --console
  • 鎵ц瀹屾垚鍚庯紝浼氭墦鍗?root 鐢ㄦ埛鐨勫垵濮嬮粯璁ゅ瘑鐮侊紝姣斿锛?/li>
D:mysql-8.0.11-winx64in>mysqld --initialize --console
2018-07-18T14:48:26.396790Z 0 [System] [MY-013169] [Server] D:mysql-8.0.11-winx64inmysqld.exe (mysqld 8.0.11) initializing of server >in progress as process 15216
2018-07-18T14:48:38.445099Z 5 [Note] [MY-010454] [Server] A temporary >password is generated for [email protected]: 3s6RMDg,kawT
2018-07-18T14:48:45.351367Z 0 [System] [MY-013170] [Server] D:mysql-8.0.11-winx64inmysqld.exe (mysqld 8.0.11) initializing of server has completed
  • 娉ㄦ剰锛佹墽琛岃緭鍑虹粨鏋滈噷闈㈡湁涓€娈?[Note] [MY-010454] [Server] A temporary >password is generated for [email protected]: 3s6RMDg,kawT 鍏朵腑[email protected]:鍚庨潰鐨?code>3s6RMDg,kawT灏辨槸鍒濆瀵嗙爜锛堜笉鍚浣嶇┖鏍硷級銆?/span>
  • 闇€瑕佽浣忚繖涓瘑鐮侊紝姝ラ2.7闇€瑕佺敤鍒般€?/li>
  • 瑕佹槸娌¤浣忓垹鎺夊垵濮嬪寲鐨?datadir 鐩綍锛屽啀鎵ц涓€閬嶅垵濮嬪寲鍛戒护銆?/li>

2.5 瀹夎MySQL鏈嶅姟

mysqld --install [鏈嶅姟鍚峕

  • 鎵╁睍 sc delete [鏈嶅姟鍚峕 鏄垹闄ゆ湇鍔$殑鍛戒护
  • 瀹夎鎴愬姛濡備笅鎵€绀猴細
D:mysql-8.0.11-winx64in>mysqld --install MySQL
Service successfully installed.
  • 鍚庨潰鐨勬湇鍔″悕鍙互涓嶅啓锛岄粯璁ょ殑鍚嶅瓧涓篗ySQL銆?/li>
  • 濡傛灉浣犵殑鐢佃剳涓婇渶瑕佸畨瑁呭涓狹ySQL鏈嶅姟锛屽氨鍙互鐢ㄤ笉鍚岀殑鍚嶅瓧鍖哄垎浜嗭紝姣斿 MySQL8

2.6 鍚姩MySQL鏈嶅姟

  • 瀹夎鏈嶅姟鍚庣瓑寰呭嚑绉?/li>
  • 鎵ц net start [鏈嶅姟鍚峕
  • 鎵╁睍锛?code>net stop [鏈嶅姟鍚峕 鏄仠姝㈡湇鍔$殑鍛戒护
  • 鍚姩鎴愬姛濡備笅鎵€绀?/li>
D:mysql-8.0.11-winx64bin>net start mysql
MySQL 鏈嶅姟姝e湪鍚姩 ..
MySQL 鏈嶅姟宸茬粡鍚姩鎴愬姛銆?

2.7 淇敼瀵嗙爜

  • 鎵ц mysql -u root -p
  • 杩欐椂鍊欎細鎻愮ず杈撳叆瀵嗙爜锛屽~鍏?code>姝ラ2.5璁板綍鐨勫瘑鐮佸嵆鍙櫥褰曟垚鍔燂紝杩涘叆MySQL鍛戒护妯″紡銆?/li>
  • 鍦∕ySQL鍛戒护妯″紡鎵ц
  • ALTER USER 鈥榬oot鈥楡鈥榣ocalhost鈥?IDENTIFIED WITH mysql_native_password BY 鈥樻柊瀵嗙爜鈥?
  • 淇敼瀵嗙爜锛屾敞鎰忓懡浠ゅ熬鐨勶紱涓€瀹氳鏈夛紝杩欐槸mysql鐨勮娉?/li>
  • 淇敼鎴愬姛鍚庢彁绀哄涓?/li>
mysql> ALTER USER 鈥榬oot鈥楡鈥榣ocalhost鈥?IDENTIFIED WITH mysql_native_password BY 鈥榬oot鈥?
Query OK, 0 rows affected (0.10 sec)

3. 瀹夎Navicat Premium

3.1 涓嬭浇

  • 鐧惧害浜?閾炬帴锛?a href="https://pan.baidu.com/s/1vlY7ngHHjiK6hPiv95wMOA" target="_blank">https://pan.baidu.com/s/1vlY7ngHHjiK6hPiv95wMOA 瀵嗙爜锛歸09r

3.2 瀹夎

  • 鏍规嵁鎿嶄綔绯荤粺瀹夎鍚堥€傜殑鐗堟湰
  • 瀹夎鍚庝笉瑕佹墦寮€

3.3 鐮磋В

  • 浠ョ鐞嗗憳韬唤杩愯PatchNavicat.exe
  • 鐮磋В鎴愬姛鎵撳紑鍗冲彲浣跨敤

以上是关于MySQL-8.0.11涓嶯avicat Premium瀹夎鏁欑▼的主要内容,如果未能解决你的问题,请参考以下文章

MYSQL-mysql 8.0.11安装教程

MYSQL-8.0.11-WINX64(免安装版)配置

CentOS 7 安装MySQL 8.0.11

MySQL.8.0.11安装

mysql 8.0.11 二进制安装

MySQL 8.0.11 innodb cluster 运维管理手册之二--集群搭建