Thursday, September 3, 2026

CH6.1: On Integrity


All Book Summaries    Book Index    « Previously
Few lines on Integrity:

# "Cultivate the discipline of doing what should do when you have to do it."

# "Don't put off the important things in favor of easy and immediate things."

# ...Late in their lives, a lot of people regret all the missed opportunities and lost chances. But sadly, by then it's too late. It's like the saying, "If youth only knew, if age only could."

# "When the student is ready, the teacher appears." — Robin Sharma

# "When you enrich the relationship, you enhance the leadership."

# "Chickens come home to roost."

# "What goes around, comes around."

# "Every promise you break, no matter how small and seemingly inconsequential, steadily chips away at your character."

# "Every time you avoid doing right, you fuel the habit of doing wrong."
ईमानदारी और नैतिक दृढ़ता (Integrity) पर कुछ पंक्तियाँ:

# "जब जो करना चाहिए, उसे जब करना हो, उसी समय करने का अनुशासन विकसित करें।"

# "महत्वपूर्ण कार्यों को आसान और तुरंत किए जा सकने वाले कामों के पक्ष में टालते न रहें।"

# "...जीवन के अंतिम पड़ाव में बहुत से लोग उन अवसरों और संभावनाओं को खो देने का पछतावा करते हैं, जिन्हें उन्होंने कभी हाथ से जाने दिया था। लेकिन अफ़सोस, तब तक बहुत देर हो चुकी होती है। यह कहावत बिल्कुल सटीक बैठती है—“यदि जवानी को समझ होती और यदि बुढ़ापे में वह सामर्थ्य होती।”"

# "जब शिष्य तैयार होता है, तब गुरु प्रकट हो जाता है।" — रॉबिन शर्मा

# "जब आप रिश्ते को समृद्ध करते हैं, तो आप अपने नेतृत्व को भी सशक्त बनाते हैं।"

# "जैसा बोओगे, वैसा ही काटोगे।"

# "जो आपके साथ होता है, वही घूम-फिरकर आपके पास वापस आता है।"

# "आप जो भी वादा तोड़ते हैं—चाहे वह कितना ही छोटा और महत्वहीन क्यों न लगे—वह धीरे-धीरे आपके चरित्र की नींव को कमजोर करता जाता है।"

# "हर बार जब आप सही काम करने से बचते हैं, आप गलत काम करने की आदत को और मजबूत करते हैं।"

Wednesday, September 2, 2026

Notes from the chapter "Disciple of Discipline"

See All Summaries    Download Chapter    « Previously
Notes from the Chapter 5: Disciple of Discipline

The fifth chapter of the book "Never Finished" is about Discipline.

In this chapter, David talks about his maternal grandfather and the lessons he gave in not-so-good packaging.

But despite loathing every bit of the routine and treatment he got from Sergeant Jack, David followed through, David endured.

It's funny because from Indian societies (where I come from) perspective, nana ji (as we call our maternal grandfather) is the most loving person after or equal to your paternal grandparents.

And if you'd read the book, you'd find that David loathed his maternal grandmother even more as jokingly described in the below excerpt by the author:

"All things being equal, I preferred to be outside. I considered most of the house a no-go zone because as badly as I felt I was being treated by Sgt. Jack, I much preferred him to Morna. She was also of mixed race and could pass for White if or when she needed to. She celebrated that fact by spraying the N-word around like an Ecolab exterminator hunting for a hive of cockroaches. More often than not, her favorite word landed on my head. For all the racists I met in Brazil, nobody called me “nigger” more than sweet grandma Morna, which only heightened the feeling that I was their personal slave."

But as David recalls later in his books, the kind of love that Sergeant Jack showed was "Tough love". Rather than organizing a pity party for David, Sergeant Jack shaped David in his formative years, building him up from the ground up.

~~~

"That's only a borderline difference between a stepping stone and a stumbling block."
अध्याय 5: अनुशासन के शिष्य से मिले नोट्स

किताब "Never Finished" का पाँचवाँ अध्याय अनुशासन (Discipline) के बारे में है।

इस अध्याय में डेविड अपने नाना जी और उन सीखों के बारे में बताते हैं, जो उन्होंने डेविड को बहुत अच्छे तरीके से नहीं, बल्कि कुछ हद तक कठोर तरीके से दीं।

लेकिन Sergeant Jack से मिले व्यवहार और उस पूरी दिनचर्या के हर हिस्से से नफ़रत करने के बावजूद, डेविड उससे पीछे नहीं हटे। उन्होंने उसे पूरा किया, सहा और उसके साथ डटे रहे।

यह बात थोड़ी मज़ेदार लगती है, क्योंकि भारतीय समाज के नज़रिए से (जहाँ से मैं आता हूँ), नाना जी — जैसा कि हम अपने maternal grandfather को कहते हैं — अपने दादा-दादी के बराबर या उनके बाद सबसे ज़्यादा प्यार करने वाले व्यक्ति माने जाते हैं।

और अगर आपने यह किताब पढ़ी होगी, तो आपको पता चलेगा कि डेविड अपनी नानी से तो और भी ज़्यादा नफ़रत करते थे। लेखक ने नीचे दिए गए अंश में इसे कुछ मज़ाकिया अंदाज़ में बताया है:

"बाकी सारी परिस्थितियाँ एक जैसी हों, तो मैं बाहर रहना ही पसंद करता था। मैंने घर के ज़्यादातर हिस्से को अपने लिए 'नो-गो ज़ोन' मान रखा था, क्योंकि Sergeant Jack मेरे साथ जितना बुरा व्यवहार करता था, उसके बावजूद मैं उसे Morna से कहीं ज़्यादा पसंद करता था। वह भी मिश्रित नस्ल की थीं और ज़रूरत पड़ने पर खुद को श्वेत बता सकती थीं। वह इस बात का जश्न इस तरह मनाती थीं कि 'N-word' को ऐसे चारों ओर बिखेरती रहती थीं, जैसे कोई Ecolab का कीट-नाशक कर्मचारी कॉकरोचों के छत्ते की तलाश कर रहा हो। ज़्यादातर बार उनका पसंदीदा शब्द मेरे सिर पर ही आकर गिरता था। ब्राज़ील में जितने भी नस्लवादी लोगों से मैं मिला, उनमें से किसी ने मुझे 'nigger' उतनी बार नहीं कहा, जितनी मेरी प्यारी नानी Morna ने — और इससे यह एहसास और भी गहरा हो जाता था कि मैं उनका निजी गुलाम था।"

लेकिन जैसा कि डेविड अपनी किताबों में बाद में याद करते हैं, Sergeant Jack ने जिस तरह का प्यार दिखाया, वह "Tough Love" था।

डेविड के लिए सहानुभूति की महफ़िल सजाने के बजाय, Sergeant Jack ने उनके शुरुआती और निर्णायक वर्षों में उन्हें गढ़ा — उन्हें बिल्कुल ज़मीन से उठाकर, नींव से मजबूत बनाया।

~~~

"सीढ़ी के पत्थर (stepping stone) और ठोकर के पत्थर (stumbling block) में सिर्फ़ नाम भर का अंतर होता है—फ़र्क़ इस बात से पड़ता है कि तुम उन पर गिरते हो या उन्हें पार करके आगे बढ़ते हो।"

See All Summaries    Download Chapter    « Previously
Tags:Biography,Book Summary,

Sunday, August 30, 2026

CH5.7: Let Go Your Imperfections One By One...


All Book Summaries    Book Index    « Previously
Let Go Your Imperfections One By One... Be The Model
    
# "The imperfections of your character empower the imperfections of all those you lead."

# "When you are rude to someone an employee, you implicitly give him permission to be rude to someone else. When you lie to someone, you condone lying to someone else. When you are late for a meeting, you silently say that punctuality is not important."

# First step to change is to do your:

"Leadership Audit": Go deep within your heart and reflect on your strengths, and even more importantly on your weaknesses, as a leader. Get to know yourself. As I said earlier, awareness precedes change. Then as with all change initiatives, whether personal or organizational, start off small.

Small acts can lead to great results. Never forget that your people are looking to you to see what is acceptable behavior and what is not. So be the ideal of what you want your people to be. Get out of your palatial office suite you have barricaded yourself into and go talk to the people that really count - the men and women who look to you for leadership. Listen to them. Find out what makes them tick. Listen to their hopes and their dreams and their frustrations. Get a clear sense of what the environment is really like within your company. Most leaders haven't a clue about things like that.

As Yogi Raman once told me," The fish is often the last to notice the water in which it swims."
अपनी कमियों को एक-एक करके छोड़िए... स्वयं आदर्श बनिए

# "आपके चरित्र की कमियाँ, आपके नेतृत्व में आने वाले लोगों की कमियों को और अधिक ताकत देती हैं।"

# "जब आप किसी कर्मचारी के साथ रूखा व्यवहार करते हैं, तो अनजाने में आप उसे किसी और के साथ रूखा व्यवहार करने की अनुमति दे देते हैं। जब आप किसी से झूठ बोलते हैं, तो आप किसी और से झूठ बोलने को मौन स्वीकृति दे देते हैं। जब आप किसी बैठक के लिए देर से पहुँचते हैं, तो आप बिना कुछ कहे यह संदेश देते हैं कि समय की पाबंदी महत्वपूर्ण नहीं है।"

# बदलाव की पहली सीढ़ी है अपना "लीडरशिप ऑडिट" (Leadership Audit):
अपने हृदय की गहराइयों में जाइए और एक नेता के रूप में अपनी शक्तियों पर विचार कीजिए—और उससे भी अधिक महत्वपूर्ण, अपनी कमजोरियों पर। स्वयं को जानिए। जैसा कि मैंने पहले कहा है, **जागरूकता बदलाव से पहले आती है।**

फिर, हर बदलाव की पहल की तरह—चाहे वह व्यक्तिगत हो या संगठनात्मक—छोटे कदमों से शुरुआत कीजिए।

छोटे-छोटे कार्य बड़े परिणाम दे सकते हैं। यह कभी मत भूलिए कि आपके लोग आपकी ओर देखते हैं ताकि यह समझ सकें कि कौन-सा व्यवहार स्वीकार्य है और कौन-सा नहीं।

इसलिए, आप जो चाहते हैं कि आपके लोग बनें, उसका आदर्श स्वयं बनिए।

अपने उस आलीशान कार्यालय से बाहर निकलिए, जिसमें आपने स्वयं को चारों ओर से अलग-थलग कर रखा है, और उन लोगों से जाकर बात कीजिए जो वास्तव में मायने रखते हैं—वे स्त्री-पुरुष जो नेतृत्व के लिए आपकी ओर देखते हैं।

उनकी बात सुनिए। जानिए कि उन्हें किस चीज़ से प्रेरणा मिलती है, क्या चीज़ उन्हें उत्साहित करती है। उनकी आशाओं और सपनों को सुनिए, उनकी निराशाओं को समझिए। अपनी कंपनी के भीतर का वास्तविक वातावरण कैसा है, इसका स्पष्ट बोध प्राप्त कीजिए।

अधिकांश नेताओं को इन बातों की ज़रा भी वास्तविक समझ नहीं होती।

जैसा कि योगी रमन ने एक बार मुझसे कहा था:

"मछली अक्सर सबसे अंत में उस पानी को महसूस करती है जिसमें वह तैर रही होती है।"

All Book Summaries    Book Index    « Previously

Friday, August 28, 2026

Notes from fourth chapter of the book "Never Finished" by David Goggins

See All Summaries
David Goggins is a mind blowing, one-in-a-million personality.

And his mother Jackie Goggins is no less of a person.

I am writing this today after completing the fourth chapter of his second (2nd for me) book “Never Finished”.

In this chapter he talks about how to overcome whatever that's holding you back.

David says to overcome anything, however big or small, you've gotta face it, feel it and analyze it, burn in your mind whatever you can learn about it to be better able respond when next time you confront it.

And the way to do that is: controlled anger and controlled exposure.

Almost as if to say that “you plan for your next episode of anger and exposure.”


Some lines from the chapter: # "What you call hell, he calls home.” # When your self-worth goes away and you don’t deal with or accept your demons, they will continue to own you, and you will become a bottom feeder. On importance of pauses called "Hard Stops" in life: # Hard Stops allow military units and individual soldiers to reorg. That includes reloading your empty magazines, taking inventory of your ammunition, and rearranging your gear so you have access to loaded weapons and anything else you may need in the hours ahead. You also must take a hard look at your battle plan and get a clear sense of what it is you’re facing and where it will lead.
David Goggins एक हैरान कर देने वाली, लाखों में एक मिलने वाली शख्सियत हैं।

और उनकी माँ Jackie Goggins भी किसी मायने में उनसे कम नहीं हैं।

मैं यह आज लिख रहा हूँ, उनकी दूसरी किताब (मेरे लिए दूसरी) “Never Finished” का चौथा अध्याय पूरा करने के बाद।

इस अध्याय में वह बात करते हैं कि जो कुछ भी आपको पीछे खींच रहा है, उसे कैसे पार किया जाए।

David कहते हैं कि किसी भी चीज़ को पार करने के लिए—चाहे वह कितनी भी बड़ी या छोटी क्यों न हो—आपको उसका सामना करना होगा, उसे महसूस करना होगा और उसका विश्लेषण करना होगा। उसके बारे में जो कुछ भी आप सीख सकते हैं, उसे अपने दिमाग में इतनी गहराई से बैठाना होगा कि अगली बार जब आपका सामना उससे हो, तो आप बेहतर ढंग से प्रतिक्रिया दे सकें।

और ऐसा करने का तरीका है: नियंत्रित क्रोध (Controlled Anger) और नियंत्रित सामना (Controlled Exposure)।

लगभग ऐसा, जैसे वह कह रहे हों कि: “अपने अगले गुस्से और अगले सामना करने वाले क्षण की पहले से तैयारी करो।”


अध्याय की कुछ पंक्तियाँ: # “जिसे तुम नर्क कहते हो, वह उसे अपना घर कहता है।” # जब आपका आत्म-मूल्य (self-worth) खत्म हो जाता है और आप अपने भीतर के राक्षसों का सामना नहीं करते या उन्हें स्वीकार नहीं करते, तो वे लगातार आप पर हावी होते रहेंगे और अंततः आप सबसे निचले स्तर पर पहुँच जाओगे। ज़िंदगी में “Hard Stops” यानी ठहराव के महत्व पर: # Hard Stops सैन्य इकाइयों और व्यक्तिगत सैनिकों को खुद को फिर से व्यवस्थित करने का अवसर देते हैं। इसमें खाली मैगज़ीन को दोबारा भरना, अपने गोला-बारूद का जायज़ा लेना और अपने सामान को इस तरह व्यवस्थित करना शामिल है कि आगे आने वाले घंटों में भरे हुए हथियारों और ज़रूरत की दूसरी चीज़ों तक आसानी से पहुँचा जा सके। आपको अपनी युद्ध-योजना पर भी एक कठोर नज़र डालनी होती है और यह स्पष्ट रूप से समझना होता है कि आपके सामने क्या है और वह आपको कहाँ ले जाएगा।

Steps to MySQL Installation (on Ubuntu) and Connection using DBeaver (2026 Aug)

User: jain@jain-Latitude-5310

#1

$ lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 25.04
Release:	25.04
Codename:	plucky

#2

$ sudo apt install mysql-server -y

#3

$ mysql --version
mysql  Ver 8.4.7-0ubuntu0.25.04.2 for Linux on x86_64 ((Ubuntu))

$ mysql -V
mysql  Ver 8.4.7-0ubuntu0.25.04.2 for Linux on x86_64 ((Ubuntu))

#4: Start MySQL Service

$ sudo systemctl start mysql

#5: Enable MySQL to start on boot

$ sudo systemctl enable mysql

#6: Verify MySQL is Running

$ sudo systemctl status mysql

● mysql.service - MySQL Community Server
     Loaded: loaded (/usr/lib/systemd/system/mysql.service; enabled; preset: enabled)
     Active: active (running) since Fri 2026-08-28 08:42:03 IST; 1h 29min ago
 Invocation: 9dc06742a2994e4596ffb7c804f43a5f
   Main PID: 7299 (mysqld)
     Status: "Server is operational"
      Tasks: 37 (limit: 17977)
     Memory: 428.5M (peak: 442.1M)
        CPU: 59.251s
     CGroup: /system.slice/mysql.service
             └─7299 /usr/sbin/mysqld

Aug 28 08:42:02 jain-Latitude-5310 systemd[1]: Starting mysql.service - MySQL Community Server...
Aug 28 08:42:03 jain-Latitude-5310 systemd[1]: Started mysql.service - MySQL Community Server.

#7: Set up "root" password
Note: Below command is using default identification method -- which will cause us trouble when we will try to connect to MySQL using DBeaver

$ sudo mysql -u root

[sudo] password for jain: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 8.4.7-0ubuntu0.25.04.2 (Ubuntu)

Copyright (c) 2000, 2025, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'root';
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.02 sec)

mysql> ^C
mysql> 
[1]+  Stopped                 sudo mysql -u root

$ sudo mysql -u root -p

Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 8.4.7-0ubuntu0.25.04.2 (Ubuntu)

Copyright (c) 2000, 2025, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 

#8: Fixing "Access denied for user root@localhost"

mysql> SELECT user, host, plugin FROM mysql.user WHERE user='root';
+------+-----------+-------------+
| user | host      | plugin      |
+------+-----------+-------------+
| root | localhost | auth_socket |
+------+-----------+-------------+
1 row in set (0.01 sec)

mysql> 

If the plugin is auth_socket, change it to caching_sha2_password or mysql_native_password
(Replace caching_sha2_password with mysql_native_password if your client does not support the new default.)

sql> ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'root';
sql> FLUSH PRIVILEGES;

Error changes to:
Public Key Retrieval is not allowed.

#9: Fix is to use "mysql_native_password" as authentication method

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
But...

ERROR 1524 (HY000): Plugin 'mysql_native_password' is not loaded


If you really need mysql_native_password (e.g., for an old client) You can try to load the plugin manually: Check if the plugin is listed (but disabled): sql> SHOW PLUGINS; Look for mysql_native_password in the list. If it’s there but not active, you may need to enable it (** AS DESCRIBED BELOW IN #10 **). If it’s completely missing, load it: sql> INSTALL PLUGIN mysql_native_password SONAME 'mysql_native_password.so'; Then retry your ALTER USER ... WITH mysql_native_password ... command. If the INSTALL PLUGIN fails, the plugin library might not be present – check your MySQL installation. In that case, stick with caching_sha2_password; almost all modern clients support it. #10: Enabling "mysql_native_password" plugin mysql> SHOW PLUGINS; +----------------------------------+----------+--------------------+----------------+---------+ | Name | Status | Type | Library | License | +----------------------------------+----------+--------------------+----------------+---------+ | binlog | ACTIVE | STORAGE ENGINE | NULL | GPL | | sha256_password | ACTIVE | AUTHENTICATION | NULL | GPL | | caching_sha2_password | ACTIVE | AUTHENTICATION | NULL | GPL | | sha2_cache_cleaner | ACTIVE | AUDIT | NULL | GPL | | daemon_keyring_proxy_plugin | ACTIVE | DAEMON | NULL | GPL | | CSV | ACTIVE | STORAGE ENGINE | NULL | GPL | | MEMORY | ACTIVE | STORAGE ENGINE | NULL | GPL | | InnoDB | ACTIVE | STORAGE ENGINE | NULL | GPL | | INNODB_TRX | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_CMP | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_CMP_RESET | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_CMPMEM | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_CMPMEM_RESET | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_CMP_PER_INDEX | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_CMP_PER_INDEX_RESET | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_BUFFER_PAGE | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_BUFFER_PAGE_LRU | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_BUFFER_POOL_STATS | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_TEMP_TABLE_INFO | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_METRICS | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_FT_DEFAULT_STOPWORD | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_FT_DELETED | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_FT_BEING_DELETED | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_FT_CONFIG | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_FT_INDEX_CACHE | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_FT_INDEX_TABLE | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_TABLES | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_TABLESTATS | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_INDEXES | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_TABLESPACES | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_COLUMNS | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_VIRTUAL | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_CACHED_INDEXES | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | INNODB_SESSION_TEMP_TABLESPACES | ACTIVE | INFORMATION SCHEMA | NULL | GPL | | MyISAM | ACTIVE | STORAGE ENGINE | NULL | GPL | | MRG_MYISAM | ACTIVE | STORAGE ENGINE | NULL | GPL | | PERFORMANCE_SCHEMA | ACTIVE | STORAGE ENGINE | NULL | GPL | | TempTable | ACTIVE | STORAGE ENGINE | NULL | GPL | | ARCHIVE | ACTIVE | STORAGE ENGINE | NULL | GPL | | BLACKHOLE | ACTIVE | STORAGE ENGINE | NULL | GPL | | FEDERATED | DISABLED | STORAGE ENGINE | NULL | GPL | | ndbcluster | DISABLED | STORAGE ENGINE | NULL | GPL | | ndbinfo | DISABLED | STORAGE ENGINE | NULL | GPL | | ndb_transid_mysql_connection_map | DISABLED | INFORMATION SCHEMA | NULL | GPL | | ngram | ACTIVE | FTPARSER | NULL | GPL | | mysqlx_cache_cleaner | ACTIVE | AUDIT | NULL | GPL | | mysqlx | ACTIVE | DAEMON | NULL | GPL | | mysql_native_password | DISABLED | AUTHENTICATION | NULL | GPL | | auth_socket | ACTIVE | AUTHENTICATION | auth_socket.so | GPL | +----------------------------------+----------+--------------------+----------------+---------+ 49 rows in set (0.00 sec) mysql>
*** Only if you absolutely need mysql_native_password *** If you have a very old client/library that doesn't support caching_sha2_password, you can re-enable the disabled plugin. Because the plugin is built-in but disabled, you cannot simply INSTALL it—you must enable it in the server configuration and restart MySQL. Step 1: Edit the MySQL config file: bash sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf Step 2: Add this line under the [mysqld] section: ini [mysqld] mysql_native_password=ON Step 3: Save the file and restart MySQL: bash sudo systemctl restart mysql Step 4: Now the plugin will show ACTIVE. Log in with sudo and change the root user: sql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'; sql> FLUSH PRIVILEGES; Now test without sudo—it will also work. Testing: mysql> show plugins; +----------------------------------+----------+--------------------+----------------+---------+ | Name | Status | Type | Library | License | +----------------------------------+----------+--------------------+----------------+---------+ ... | mysql_native_password | ACTIVE | AUTHENTICATION | NULL | GPL | ... +----------------------------------+----------+--------------------+----------------+---------+

Connect to MySQL using DBeaver

Connect DBeaver to MySQL

🔌 Connect to MySQL using DBeaver

Follow these steps to set up a connection from DBeaver to your locally installed MySQL server (Ubuntu 25.04, MySQL 8.0.41).


Step 1: Launch DBeaver and create a new connection

  1. Open DBeaver.
  2. Create a new connection using one of these methods:
    • Click the New Database Connection button in the toolbar.
    • Go to Database → New Database Connection in the main menu.
    • Press Ctrl + Shift + N (Windows/Linux) or ⌘ + Shift + N (macOS).

Step 2: Select the MySQL driver

  1. In the “Connect to a database” window, type MySQL in the search bar to filter drivers.
  2. Choose the correct driver for your version:
    • MySQL 8 and later → select MySQL (the default driver).
    • MySQL 5.x → select MySQL 5.
    • MySQL 4.x or older → select MySQL (old).
  3. Since your server is MySQL 8.0.41, choose the MySQL driver.

Step 3: Configure the connection details

After selecting the driver, click Next. On the Main tab of the Connection Settings screen, fill in the following:

Field Value for your setup
Host localhost or 127.0.0.1 (the MySQL server is on your machine)
Port 3306 (default – leave as is unless you changed it)
Database Leave blank (to see all databases) or enter a specific database name
Username Typically root for a fresh Ubuntu installation
Password Enter the root password you set during MySQL installation
💡 Note: If you didn’t set a password and are using the default auth_socket plugin, you may need to connect as root without a password, or set one using sudo mysql and ALTER USER.

Step 4: Test and finish

  1. Click the Test Connection button.
  2. If DBeaver prompts to download the JDBC driver, confirm the download.
  3. If the test is successful, you’ll see a confirmation message.
  4. Click Finish to save the connection.

The new connection will appear in the Database Navigator panel on the left. You can now browse and manage your MySQL databases directly from DBeaver.


Note: Set password for "root" user before trying to access MySQL using DBeaver using above steps

Otherwise you will get the below error:

Thursday, August 27, 2026

2.3: Choosing the right insurance riders


Index    « Previously    View Full Course on WebVeda

Index    « Previously    View Full Course on WebVeda

Never Buy Wrong Insurance (Credits: WebVeda)


   Next »    View Full Course on WebVeda
  1. Why you need life insurance (2.1)
  2. Types of Life Insurance Plans (2.2)
  3. Choosing the right insurance riders (2.3)

   Next »    View Full Course on WebVeda

2.2: Types of Life Insurance Plans


Index    « Previously    Next »    View Full Course on WebVeda

Index    « Previously    Next »    View Full Course on WebVeda