<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mysql | SDT 攻城獅區</title>
	<atom:link href="https://sdt.hameba.tw/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>https://sdt.hameba.tw</link>
	<description>由Steven, Der, Ted 三位高級打字員所組成，是三位工程師(攻城獅)所維護的技術分享平台，或許偶爾會分享一些日常，有任何問題或是錯誤的部分，歡迎留言告訴我們！</description>
	<lastBuildDate>Wed, 16 Dec 2020 10:09:28 +0800</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3</generator>

<image>
	<url>https://sdt.hameba.tw/wp-content/uploads/2020/02/hameba_favicon-150x150.png</url>
	<title>mysql | SDT 攻城獅區</title>
	<link>https://sdt.hameba.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Steven 網頁工程師心得分享</title>
		<link>https://sdt.hameba.tw/645/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=steven-%25e7%25b6%25b2%25e9%25a0%2581%25e5%25b7%25a5%25e7%25a8%258b%25e5%25b8%25ab%25e5%25bf%2583%25e5%25be%2597%25e5%2588%2586%25e4%25ba%25ab</link>
				<comments>https://sdt.hameba.tw/645/#respond</comments>
				<pubDate>Wed, 16 Dec 2020 10:09:28 +0000</pubDate>
		<dc:creator><![CDATA[Hsu Steven]]></dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Angular]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[DB2]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[react]]></category>
		<category><![CDATA[RedisDB]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Vue]]></category>

		<guid isPermaLink="false">https://sdt.hameba.tw/?p=645</guid>
				<description><![CDATA[<p>網頁工程師 網頁可以區分為前端及後端還有資料庫各個工程師 (其學習不是要把所有語言指令背下來，是好比今天有個功 &#8230; </p>
<p class="link-more"><a href="https://sdt.hameba.tw/645/" class="more-link">閱讀全文<span class="screen-reader-text">〈Steven 網頁工程師心得分享〉</span></a></p>
The post <a href="https://sdt.hameba.tw/645/">Steven 網頁工程師心得分享</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></description>
								<content:encoded><![CDATA[<p>網頁工程師<br />
網頁可以區分為前端及後端還有資料庫各個工程師<br />
(其學習不是要把所有語言指令背下來，是好比今天有個功能需要完成，你”大概”知道在google搜尋什麼相關指令或是方法，解決問題就好)</p>
<p><span id="more-645"></span></p>
<p>前端有兩種<br />
1. 單純的網頁設計師，大約就是使用illustrator 跟 photoshop 設計網頁樣式<br />
2. 需要會程式邏輯的網頁設計工程師，類似當一般使用者按下按鈕促發一些功能或設計一些資料樣式的處理，跟後端溝通，需要會的語言-&gt;新手建議 HTML5, CSS3, jquery, js , 中高水準學習為Angular, React, Vue</p>
<p>後端語言為以下多種類型<br />
1. C# 微軟派系，為C#工程師，程式部署在iis上面，通常運行Microsoft SQL Server<br />
2. php 開源派系，為php工程師，程式部署在apache or tomcat上面，通常運行在Linux環境上面，中大型企業使用Redhat , 小型公司運行在Ubuntu<br />
3. java Oracle 派系 為java工程師，程式部署在tomcat or jBoss上面，通常運行在Linux環境上面，中大型企業使用Redhat , 小型公司運行在Ubuntu<br />
4. Node.js 開源派系，為node.js工程師，程式部署在pm2上面，通常運行在Linux環境上面，通常運行在Linux環境上面，屬Ubuntu市佔率為多數。<br />
5. python 開源派系 為python工程師，程式部署在系統啟動時的指令上面，通常運行在Linux環境上面，通常運行在Linux環境上面。<br />
6. Ruby on Rails 沒玩過，不清楚了 &gt;.&lt;</p>
<p>資料庫工程師<br />
1. noSQL =&gt; MongoDB, RedisDB (新型大數據以轉型使用MongoDB)<br />
2. SQL =&gt; SQL Server, MySQL, MariaDB, DB2 (SQL為目前市場大多數應用派系)</p>
<p>以上內容參考參考，很多keyword，可以先嘗試了解 前端工程師, 後端工程師, 資料庫工程師，這三種類型，選擇想前往的道路，</p>
<p>以下個人經驗<br />
前端 =&gt; 看得到畫面，可以第一接觸到使用者的體驗，成就感較高，也會被外面長官器重<br />
後端 =&gt; 第一次處理的邏輯，會不熟悉，沒感覺自己在做什麼，目標空洞，但有一兩次經驗後，後面得心印手，大概就只有這樣的把戲了！<br />
資料庫端 =&gt; 除非進到 FB, google, yahoo, 等非常前面科技的龍頭水準，才會有SQL優化條件，不然普遍把SQL 摸熟，不外乎CRUD的指令 CREATE, SELECT, UPDATE, DELETE, 比對條件 WHERE，然後就是養老了！！</p>
<p>以上是目前本人所看到產業大方向的情況，小弟一些愚昧的見解，沒有要跟任何派系的高手爭論。</p>The post <a href="https://sdt.hameba.tw/645/">Steven 網頁工程師心得分享</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></content:encoded>
							<wfw:commentRss>https://sdt.hameba.tw/645/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>MariaDB 外部連線失敗 Can&#8217;t connect to MySQL server</title>
		<link>https://sdt.hameba.tw/520/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mariadb-%25e5%25a4%2596%25e9%2583%25a8%25e9%2580%25a3%25e7%25b7%259a%25e5%25a4%25b1%25e6%2595%2597-cant-connect-to-mysql-server</link>
				<comments>https://sdt.hameba.tw/520/#respond</comments>
				<pubDate>Tue, 18 Feb 2020 16:44:27 +0000</pubDate>
		<dc:creator><![CDATA[Hsu Steven]]></dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Can't connect]]></category>
		<category><![CDATA[Maria]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">https://sdt.hameba.tw/?p=520</guid>
				<description><![CDATA[<p>使用Ubuntu安裝完mysql，其實是mariadb， 而當要從外部連線進來時會發現出現錯誤： Can&#8 &#8230; </p>
<p class="link-more"><a href="https://sdt.hameba.tw/520/" class="more-link">閱讀全文<span class="screen-reader-text">〈MariaDB 外部連線失敗 Can&#8217;t connect to MySQL server〉</span></a></p>
The post <a href="https://sdt.hameba.tw/520/">MariaDB 外部連線失敗 Can’t connect to MySQL server</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></description>
								<content:encoded><![CDATA[<p>使用Ubuntu安裝完mysql，其實是mariadb，</p>
<p>而當要從外部連線進來時會發現出現錯誤：</p>
<p><span id="more-520"></span></p>
<p>Can&#8217;t connect to MySQL server on (61)</p>
<p>所以可以透過以下幾個步驟來解決</p>
<p>Step 1.</p>
<p>查看帳號權限</p><pre class="crayon-plain-tag">$ mysql -u root -p
&gt; USE mysql;
&gt; SELECT User, Host FROM mysql.user;</pre><p>Host 需要出現%才代表可以外部連進來</p>
<p>Step 2.</p><pre class="crayon-plain-tag">$ netstat -tulpen</pre><p>查看是否有3306 port被使用，有的話代表mariaDB正常</p>
<p>Step 3.</p>
<p>以上都有的話，就是設定沒有設定好，路徑 ex:/etc/mysql/my.cnf</p><pre class="crayon-plain-tag">// mysql 方式
bind-address = 0.0.0.0

// mariaDB 方式
[mysqld]
bind-address = 0.0.0.0</pre><p>&nbsp;</p>
<p>Reference</p>
<p><a href="https://mariadb.com/kb/en/configuring-mariadb-for-remote-client-access/" target="_blank" rel="noopener noreferrer">https://mariadb.com/kb/en/configuring-mariadb-for-remote-client-access/</a></p>
<p><a href="https://zhuanlan.zhihu.com/p/38419137" target="_blank" rel="noopener noreferrer">https://zhuanlan.zhihu.com/p/38419137</a></p>The post <a href="https://sdt.hameba.tw/520/">MariaDB 外部連線失敗 Can’t connect to MySQL server</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></content:encoded>
							<wfw:commentRss>https://sdt.hameba.tw/520/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>sudo mysql -u root -p 移除 sudo 方式</title>
		<link>https://sdt.hameba.tw/518/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sudo-mysql-u-root-p-%25e7%25a7%25bb%25e9%2599%25a4-sudo-%25e6%2596%25b9%25e5%25bc%258f</link>
				<comments>https://sdt.hameba.tw/518/#respond</comments>
				<pubDate>Tue, 18 Feb 2020 16:32:12 +0000</pubDate>
		<dc:creator><![CDATA[Hsu Steven]]></dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">https://sdt.hameba.tw/?p=518</guid>
				<description><![CDATA[<p>安裝好Ubuntu 18.04.1 以後，不能以使用者身份執行mysql 指令， 必須使用加上sudo，才可以 &#8230; </p>
<p class="link-more"><a href="https://sdt.hameba.tw/518/" class="more-link">閱讀全文<span class="screen-reader-text">〈sudo mysql -u root -p 移除 sudo 方式〉</span></a></p>
The post <a href="https://sdt.hameba.tw/518/">sudo mysql -u root -p 移除 sudo 方式</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></description>
								<content:encoded><![CDATA[<p>安裝好Ubuntu 18.04.1 以後，不能以使用者身份執行mysql 指令，<br />
必須使用加上sudo，才可以執行mysql 指令。</p>
<p><span id="more-518"></span></p>
<p>解決方式如下：</p><pre class="crayon-plain-tag">$ sudo mysql -u root -p
Enter password:【輸入密碼，如無密碼直接Enter】

// 使用mysql db
&gt; use mysql;
&gt; update user SET plugin='mysql_native_password' WHERE User='root';
&gt; update user set authentication_string=password('root新密碼') where user='root';
&gt; flush privileges;
&gt; exit;</pre><p>完成後，可以再試試看用</p>
<p>$ mysql -u root -p</p>
<p>就不會被阻擋了</p>
<div id="gtx-trans">
<div class="gtx-trans-icon"></div>
</div>The post <a href="https://sdt.hameba.tw/518/">sudo mysql -u root -p 移除 sudo 方式</a> first appeared on <a href="https://sdt.hameba.tw">SDT 攻城獅區</a>.]]></content:encoded>
							<wfw:commentRss>https://sdt.hameba.tw/518/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
