<?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/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Database &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Thu, 01 May 2025 21:25:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>Database &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Script backup database and website on telegram</title>
		<link>https://en.anonyviet.com/script-backup-database-and-website-on-telegram/</link>
					<comments>https://en.anonyviet.com/script-backup-database-and-website-on-telegram/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Thu, 01 May 2025 21:25:34 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Telegram]]></category>
		<category><![CDATA[Website]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=18954</guid>

					<description><![CDATA[Telegram Upload 2GB files for regular accounts and 4GB for Premium accounts, taking advantage of this function you can upload the backup database file and website to the Telegram to store. This article will introduce you to one Script automatically database and source code websiteLater Send the backup directly to the telegram. This solution is [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div id="ftwp-postcontent">
<p data-start="117" data-end="564"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Ftag%2FTelegram" class="local-link">Telegram</a> Upload 2GB files for regular accounts and 4GB for Premium accounts, taking advantage of this function you can upload the backup database file and website to the Telegram to store. This article will introduce you to one <strong data-start="310" data-end="369">Script automatically database and source code website</strong>Later <strong data-start="378" data-end="420">Send the backup directly to the telegram</strong>. This solution is not only convenient and safe but also helps you easily track and manage backup versions right on the app.</p>
<div align="center">
<table class="aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"> <span style="font-size: 12pt;"> <strong>Join the channel <span style="color: #0000ff;">Telegram</span> belong to <span style="color: #008080;">Anonyviet</span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietoffical" target="_blank" class="local-link">Link</a></span>  👈</strong> </span> </td>
</tr>
</tbody>
</table>
</div>
<figure id="attachment_85479" aria-describedby="caption-attachment-85479" style="width: 600px" class="wp-caption aligncenter"><img post-id="18954" fifu-featured="1" fetchpriority="high" decoding="async" class="size-full wp-image-85479" src="https://anonyviet.com/wp-content/uploads/2025/05/01-05-2025-08-40-18.png" alt="Script backup database and website on telegram" title="Script backup database and website on telegram" width="600" height="286" title="Script Backup Database and website on Telegram 6" srcset="https://anonyviet.com/wp-content/uploads/2025/05/01-05-2025-08-40-18.png 600w, https://anonyviet.com/wp-content/uploads/2025/05/01-05-2025-08-40-18-300x143.png 300w" sizes="(max-width: 600px) 100vw, 600px"/><figcaption id="caption-attachment-85479" class="wp-caption-text">Script backup database and source code website on telegram</figcaption></figure>
<h2 id="ftoc-huong-dan-backup-database-va-website-len-telegram" class="ftwp-heading" data-start="117" data-end="564">Instructions for backup database and website on Telegram</h2>
<p>Now we will start writing the code backup database and website on Telegram. The process summarizes 3 steps:</p>
<ol>
<li>Create script upload files to telegram</li>
<li>Create website backup website</li>
<li>Backup timer periodically</li>
</ol>
<h3 id="ftoc-scirpt-gui-file-len-telegram" class="ftwp-heading">Scirpt sends files to telegram</h3>
<p>You need to fill out these 4 information in the script:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">api_id = &#13;
api_hash = &#13;
phone_number = &#13;
group_id =</pre>
<p><strong>How to get the following information:</strong></p>
<p>First you need to go to the page <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fmy.telegram.org" target="_blank" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">https://my.telegram.org</a> and log in to get <strong>API_ID</strong> and<strong> API_HASH </strong>and fill in the code below</p>
<p>Then you create a group Telegram only with you in that group, the purpose of using the group to store backup files.</p>
<p>In Group_ID =: You take the new group ID to fill in. If you don&#8217;t know how much ID Group, add this bot to: <strong>@myidbot</strong></p>
<p>After adding, in the group you type the command <code>/getgroupid@myidbot</code> To get ID Group (note that copy &#8211; okay)</p>
<p>Save the file into <strong>Tele.py</strong> into the folder <strong>/root/code/</strong></p>
<p>We have the following path: <strong>/Root/code/tele.py</strong></p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">from telethon import TelegramClient&#13;
import asyncio&#13;
import os&#13;
import sys&#13;
from datetime import datetime, timezone, timedelta&#13;
&#13;
# --- Config thông tin đăng nhập ---&#13;
api_id = xxx  # Thay bằng xxx lấy ở https://my.telegram.org&#13;
api_hash="xxxxxx"  # Thay bằng xxxxxx lấy ở https://my.telegram.org&#13;
phone_number="+84913456789"  # Số điện thoại Telegram của bạn (bao gồm mã quốc gia)&#13;
group_id = -123456  # ID nhóm Telegram&#13;
log_file="/var/log/backup_telegram.log"&#13;
&#13;
# Hàm lấy giờ GMT+7&#13;
def get_vn_time():&#13;
    utc_now = datetime.now(timezone.utc)&#13;
    vn_now = utc_now + timedelta(hours=7)&#13;
    return vn_now.strftime("%Y-%m-%d %H:%M:%S")&#13;
&#13;
# Ghi log ra file&#13;
def write_log(message):&#13;
    with open(log_file, 'a') as f:&#13;
        f.write(f"{get_vn_time()} - {message}\n")&#13;
&#13;
async def main(upload_directory):&#13;
    client = TelegramClient('user_session', api_id, api_hash)&#13;
    await client.start(phone=phone_number)&#13;
&#13;
    if not os.path.isdir(upload_directory):&#13;
        msg = f"❌ Không tìm thấy thư mục backup: {upload_directory}"&#13;
        write_log(msg)&#13;
        print(msg)&#13;
        return&#13;
&#13;
    files = [os.path.join(upload_directory, f) for f in os.listdir(upload_directory) if os.path.isfile(os.path.join(upload_directory, f))]&#13;
&#13;
    if not files:&#13;
        msg = "📂 Thư mục rỗng, không có file nào để upload."&#13;
        write_log(msg)&#13;
        print(msg)&#13;
        return&#13;
&#13;
    write_log(f"📦 Bắt đầu upload {len(files)} file từ {upload_directory}")&#13;
&#13;
    for idx, file_path in enumerate(files, start=1):&#13;
        filename = os.path.basename(file_path)&#13;
        upload_time = get_vn_time()&#13;
        file_size_mb = os.path.getsize(file_path) / (1024 * 1024)&#13;
&#13;
        # Cảnh báo nếu file quá 1900MB&#13;
        if file_size_mb &gt; 1900:&#13;
            warning = f"⚠️ File {filename} lớn ({file_size_mb:.2f} MB), có thể không upload được."&#13;
            write_log(warning)&#13;
            print(warning)&#13;
&#13;
        try:&#13;
            print(f"🚀 [{idx}/{len(files)}] Upload {filename} ({file_size_mb:.2f}MB) lúc {upload_time}")&#13;
            await client.send_file(&#13;
                group_id,&#13;
                file_path,&#13;
                caption=f"📄 File: {filename}\n🕒 Upload lúc: {upload_time} (GMT+7)\n📦 Dung lượng: {file_size_mb:.2f} MB"&#13;
            )&#13;
            write_log(f"✅ Upload {filename} thành công.")&#13;
        except Exception as e:&#13;
            error_message = f"❌ Upload lỗi {filename}: {e}"&#13;
            write_log(error_message)&#13;
            print(error_message)&#13;
            # Gửi thông báo lỗi về group Telegram&#13;
            await client.send_message(group_id, f"❌ Lỗi upload file: {filename}\nError: {e}")&#13;
&#13;
    await client.disconnect()&#13;
    print("🎉 Đã hoàn tất upload tất cả các file.")&#13;
    write_log("🎉 Upload hoàn tất.")&#13;
&#13;
if __name__ == '__main__':&#13;
    if len(sys.argv) != 2:&#13;
        print("❌ Cần truyền vào đường dẫn thư mục backup.")&#13;
        sys.exit(1)&#13;
    upload_directory = sys.argv[1]&#13;
    asyncio.run(main(upload_directory))&#13;
</pre>
<p>Now you type the command:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">cd /root/code&#13;
echo "" &gt; a.txt&#13;
python3 tele.py</pre>
<p>At the first code running, you will be asked to enter the OTP code to send to the phone number or app telegram app to authenticate.</p>
<p>If you see the A.Txt file uploaded to your Telegram Group is to see as successfully upload the file to the telegram. We will go through the next step</p>
<h3 id="ftoc-tao-script-backup-website-va-database" class="ftwp-heading">Create a script backup website and database</h3>
<p>This is the script I refer to from hocvps used to backup website data on Ubuntu server:</p>
<p>Into the folder <strong>/root/code/</strong> Create file <strong>Backup.sh</strong> The content is as follows:</p>
<p><em>(Replace zip -r $ backup_dir/anonyviet.com.zip <span style="color: #008080;">/home/anonyviet.com/public_html/ -Q -x /home/anonyviet.com/public_html/wp-content/cache/**\*</span> #Exclude cache) into the right path in your server)</em></p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">#!/bin/bash&#13;
&#13;
&#13;
TIMESTAMP=$(date +"%F")&#13;
BACKUP_DIR="/root/backup/$TIMESTAMP"&#13;
MYSQL=/usr/bin/mysql&#13;
MYSQLDUMP=/usr/bin/mysqldump&#13;
SECONDS=0&#13;
&#13;
mkdir -p "$BACKUP_DIR/mysql"&#13;
&#13;
&#13;
databases=`$MYSQL -e "SHOW DATABASES;" | grep -Ev "(Database|information_schema|performance_schema|mysql)"`&#13;
&#13;
for db in $databases; do&#13;
    $MYSQLDUMP --force --opt $db | gzip &gt; "$BACKUP_DIR/mysql/$db.gz"&#13;
done&#13;
&#13;
# Loop through /home directory&#13;
zip -r $BACKUP_DIR/anonyviet.com.zip /home/anonyviet.com/public_html/ -q -x /home/anonyviet.com/public_html/wp-content/cache/**\* #Exclude cache&#13;
&#13;
&#13;
&#13;
# Gọi file Python để upload&#13;
cd /root/code/&#13;
python3 tele.py "$BACKUP_DIR"&#13;
&#13;
size=$(du -sh $BACKUP_DIR | awk '{ print $1}')&#13;
&#13;
&#13;
&#13;
duration=$SECONDS&#13;
echo "Total $size, $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed."</pre>
<p>Grant the right to execute for the backup.sh file, you type the command:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">cd /root/code/&#13;
chmod +x *</pre>
<h3 id="ftoc-thiet-lap-cronjob-sao-luu-du-lieu-hang-ngay-gui-len-telegram" class="ftwp-heading">Set Cronjob to back up daily data sent to Telegram</h3>
<p>We will display every daily morning will backup database and website on Telegram.</p>
<p>You type the command <code>crontab -e</code>add this line to the end of the file:</p>
<p><code>0 1 * * * /root/code/backup.sh 2&gt;&amp;1</code></p>
<p>Then press the following keys to save and escape:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">Ctrl X&#13;
Y&#13;
Enter</pre>
<p>Backup of automatic website data to Telegram is a simple but effective solution, in addition, you should back up 1 copy to Google Drive to take advantage of 15GB for free.</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/script-backup-database-and-website-on-telegram/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2025/05/01-05-2025-08-40-18.png" medium="image"></media:content>
            	</item>
		<item>
		<title>Download Navicat Premium 15 Full &#8211; Centralized database management software</title>
		<link>https://en.anonyviet.com/download-navicat-premium-15-full-centralized-database-management-software/</link>
					<comments>https://en.anonyviet.com/download-navicat-premium-15-full-centralized-database-management-software/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Tue, 31 Jan 2023 10:15:14 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Centralized]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Full]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[Navicat]]></category>
		<category><![CDATA[Premium]]></category>
		<category><![CDATA[software]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=7314</guid>

					<description><![CDATA[What is Navicat Premium 15 Full? Navicat Premium 15 Full is a centralized management tool that allows you to concurrent connection at the same time many databases like MySQL, MariaDB, MongoDB, SQL Server, Oracle, PostgreSQL and SQLite. Compatible with cloud databases such as Amazon RDS, Amazon Aurora, Amazon Redshift, Microsoft Azure, Oracle Cloud, Google Cloud, [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<h2 id="ftoc-navicat-premium-15-full-la-gi" class="ftwp-heading">What is Navicat Premium 15 Full?</h2>
<p><strong>Navicat Premium 15 Full</strong> is a centralized management tool that allows you to <strong>concurrent connection at the same time</strong> many databases like MySQL, MariaDB, MongoDB, SQL Server, Oracle, PostgreSQL and SQLite.  Compatible with cloud databases such as Amazon RDS, Amazon Aurora, Amazon Redshift, Microsoft Azure, Oracle Cloud, Google Cloud, Alibaba Cloud, Tencent Cloud, MongoDB Atlas and Huawei Cloud.  You can quickly and easily build and manage your database.</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p>If you just <strong>manage multiple database systems at the same time</strong> then Navicat Premium 15 Full is your optimal solution.  On the same software you can manage both Microsoft SQL, and MySQL if you are running php Webserver, and also MariaDB… Navicat 12 comes with many enhancements and features to help you better manage your database.  With more than 100 improvements and a completely new interface – Navicat provides you with convenient centralized management features.  Navicat Premium version also supports platforms: Windows, Mac OS X and Linux.</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2019%2F06%2Fimg37.gif" rel="noopener" class="local-link"><img decoding="async" class="aligncenter wp-image-14637 size-full" src="https://anonyviet.com/wp-content/uploads/2019/06/img37.gif" alt="Download Navicat Premium 15 Full - Centralized database management software" width="600" height="196" title="Download Navicat Premium 15 Full - Centralized database management software 10"/></a></p>
<h2 id="ftoc-cac-tinh-nang-chinh-cua-navicat-premium" class="ftwp-heading">Main features of Navicat Premium</h2>
<p>Navicat Premium 15 Full makes it easy to move data between databases.  Other features such as: Import/Export DB, Query Builder, Report Builder, Data Synchronization, Backup, Job Scheduling.. specifically:</p>
<h3 id="ftoc-quan-tri-cung-luc-nhieu-database-voi-navicat-premium-15-full" class="ftwp-heading">Manage multiple databases at the same time with Navicat Premium 15 Full</h3>
<p>Navicat Premium allows you to perform multi-server administration of MySQL, Oracle and PostgreSQL databases from a single interface.  It combines the functions of other Navicat members and supports most of the features in MySQL, Oracle and PostgreSQL including Stored Procedures, Events, Triggers, Functions, Views, etc. save time and benefit any admin managing multiple servers.</p>
<p><strong>Supports the latest MySQL version</strong></p>
<ul>
<li>Supports MySQL versions 3.21 and above</li>
<li>Supports all MySQL objects: tables, views, stored procedures/functions and events</li>
<li>Supports all subprojects: fields, indices, foreign keys and triggers</li>
<li>Partition support</li>
<li>Unicode support</li>
</ul>
<p><strong>Support the latest Oracle version</strong></p>
<ul>
<li>Support Oracle Server 8.1 and above</li>
<li>Supports all Oracle objects: tables (Normal, External and Index Organized), views, procedures/functions)</li>
</ul>
<h3 id="ftoc-cong-cu-quan-ly-cheo-cross-servers" class="ftwp-heading">Cross-servers management tool</h3>
<ul>
<li><strong>Support data transfer between servers</strong><br />Navicat Premium 15 Full makes it easy to transfer data across different database systems.  This feature will greatly simplify the data migration process.</li>
<li><strong>Export data and generate records as INSERT statements in sql file</strong><br />During data transfer you can choose to export the data as sql file with specified SQL encoding and format.</li>
<li><strong>Create schedules for backup, import/export, data transfer, saved queries, and data synchronization from various types of servers</strong><br />Records from different types of databases can be created in a batch job so you can schedule it up and running at a specific time.  Batch jobs can be created to print Reports, Backup, Query, Data Transfer, Data Synchronization, Import and Export.</li>
<li><strong>Send e-mail notifications and attachments for the schedule task</strong><br />Create e-mail notifications for the recipients you specify, connecting them to the latest schedule information.  Read directly through your email account about results returned from a schedule.  In addition, the exported file or printed report can be added to the batch job as an attachment so that you can share your data easily.</li>
</ul>
<h3 id="ftoc-tuy-chon-ket-noi-bo-sung" class="ftwp-heading">Additional connectivity options</h3>
<ul>
<li><strong>SSH Support</strong><br />Set up a secure SSH session in Navicat Premium 15 Full.  Enjoy strong authentication and secure encrypted communication between the two servers.  The authentication method can use a password or a public/private key pair.</li>
<li><strong>HTTP Support for MySQL Server</strong><br />PostgreSQL Navicat comes with HTTP Tunnel while your ISP does not allow direct connection to their server but allows establishing HTTP connection.  HTTP Tunneling is a method of connecting to a server using the same protocol (http://) and the same port (port 80) as a web server does.</li>
<li><strong>Export registration record (.reg) via Navicat Premium</strong><br />You can easily transfer your connection settings while moving Navicat from one computer to another.  Just export the registry file via Navicat and restore it on the new machine.</li>
</ul>
<h3 id="ftoc-quan-ly-toan-dien-cac-doi-tuong-co-so-du-lieu" class="ftwp-heading">Comprehensive management of database objects</h3>
<ul>
<li><strong>Create, edit, and delete database subprojects</strong><br />With Table Designer – the basic Navicat Premium tool for working with tables, you can create, edit and drop fields, indexes, foreign keys, checks, triggers, privileges and much more.</li>
<li><strong>SQL Preview</strong><br />Region <strong>preview</strong> SQL shows you the SQL representation of the database objects you are creating.  This capability allows you to preview SQL before execution.</li>
<li><strong>Dump object definition as sql file</strong><br />Backup object definition and data easily by dump as sql file.</li>
<li><strong>Print Schema/Table Structure</strong><br />Present schema/table definitions by printing their structures in Navicat.  Understand the corresponding object structure fully at a glance.</li>
</ul>
<h3 id="ftoc-import-da-dang" class="ftwp-heading">Import variety</h3>
<ul>
<li><strong>Import data from ODBC</strong><br />You can import data from ODBC after establishing a data source connection.  All available tables will be included if the connection is successful.  Simply select the tables you want to import or specify a query using the Add Query button.</li>
<li><strong>Import data from up to 11 of the most popular formats including MS Access, MS Excel, XML, HTML, TXT and CVS</strong><br />Import Wizard allows you to import data into a table from a variety of formats.  On top of that, you can save your settings as an import profile for scheduling.</li>
<li><strong>Export data to different file formats: TXT, CSV, DBF and XML</strong><br />Similarly, the Export Wizard allows you to export data to different formats.  Save your settings as an export profile to set up a schedule.</li>
</ul>
<h3 id="ftoc-cong-cu-thao-tac-du-lieu-manh-me" class="ftwp-heading">Powerful data manipulation tools</h3>
<ul>
<li><strong>Form view</strong><br />Work with the current record with Form View.  Enjoy a clear display of the field name and its value with a focus on the current record.</li>
<li><strong>Support foreign key data selection</strong><br />With the GUI tool – Select foreign key data, you can locate foreign key values ​​from the reference table.  Stop switching the view to the main table to find available values!</li>
<li><strong>Synchronize data and structure</strong><br />You can transfer data from one database to another with detailed analysis.  Likewise, you can compare and modify table structures.  For both Structure and Data Synchronization, the destination database can be on the same server as the source or on a different server.</li>
<li><strong>Support MySQL/PostgreSQL database backup and restore</strong><br />Regular backups on databases are important to users.  Backup/restore all tables and records, views, functions, etc for your database using Navicat.  You can also schedule backups between databases.</li>
</ul>
<h3 id="ftoc-giao-dien-quan-ly-de-su-dung" class="ftwp-heading">Easy-to-use Management Interface</h3>
<ul>
<li><strong>Visual User Manager</strong><br />Navicat provides users with an intuitive tool for user management.  You can easily add, clone, delete users and edit global user privileges and grant privileges on selected databases and objects.</li>
</ul>
<h3 id="ftoc-trinh-tao-bien-tap-hinh-anh-duoc-thiet-ke-tot" class="ftwp-heading"><span class="">Well designed image maker/editor</span></h3>
<ul>
<li><strong>Visual Query/View Builder</strong><br />Visual Query/View Builder – divided into two parts: Graphical View and Command Line Mode.  You can create and edit visual queries/views without knowing SQL.</li>
<li><strong>Query Editor</strong></li>
</ul>
<h2 id="ftoc-download-navicat-premium-15-full-key" class="ftwp-heading">Download Navicat Premium 15 Full Key</h2>
<p style="text-align: center;"><strong>Download Navicat 15 Windows </strong></p>
<p style="text-align: center;"><strong>[<a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.fshare.vn%2Ffile%2FKBLQOXCKM4FJ%3Ftoken%3D1576206748" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">32bit</a>][<a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.fshare.vn%2Ffile%2FXWJL5MFX83DF%3Ftoken%3D1576206746" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">64bit</a>]</strong></p>
<p style="text-align: center;">[<strong><a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.fshare.vn%2Ffile%2F6S4X15ASTHNL%3Ftoken%3D1576206781" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Linux</a></strong>]
</p>
<p style="text-align: center;"><span style="text-decoration: underline;"><strong><a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.fshare.vn%2Ffile%2FCRI1CCFSGNKN" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">Download Navicat Data Modeler</a></strong></span></p>
<p style="text-align: center;">Older versions: <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.fshare.vn%2Ffolder%2FQOW9984MG69I" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">https://www.fshare.vn/folder/QOW9984MG69I</a></p>
<h2 id="ftoc-huong-dan-crck-navicat-premium-15-full-key" class="ftwp-heading">Guide to Crack Navicat Premium 15 Full Key</h2>
<p>You open the folder Unlock PatchNavicat_Keygen_Patch_v5.0_By_DFoX.exe used to create the Activation Serial for Navicat Premium 15. Copy that file into the installed folder.</p>
<ol>
<li>Click the button <strong>Patch</strong></li>
<li>Click on <strong>Generate</strong></li>
<li>Open Navicat Premium 15 up.  Go to the menu  <strong>Help – Registration </strong>Enter the Key</li>
</ol>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2019%2F06%2Fnhapkey.jpg" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter wp-image-14633 size-full" src="https://anonyviet.com/wp-content/uploads/2019/06/nhapkey.jpg" alt="Guide to Crack Navicat Premium 15 Full Key" width="723" height="212" srcset="https://anonyviet.com/wp-content/uploads/2019/06/nhapkey.jpg 723w, https://anonyviet.com/wp-content/uploads/2019/06/nhapkey-300x88.jpg 300w" sizes="auto, (max-width: 723px) 100vw, 723px" title="Download Navicat Premium 15 Full - Centralized database management software 11"/></a></p>
<p>After clicking Active, a message will appear, choose <strong>Manual Activation</strong></p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2019%2F06%2Fmanual-activation.jpg" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter wp-image-14634 size-full" src="https://anonyviet.com/wp-content/uploads/2019/06/manual-activation.jpg" alt="Manual Activation" width="601" height="161" srcset="https://anonyviet.com/wp-content/uploads/2019/06/manual-activation.jpg 601w, https://anonyviet.com/wp-content/uploads/2019/06/manual-activation-300x80.jpg 300w" sizes="auto, (max-width: 601px) 100vw, 601px" title="Download Navicat Premium 15 Full - Centralized Database Management Software 12"/></a></p>
<p>Proceed to Copy the code on the screen to PatchNavicat_Keygen_Patch_v5.0_By_DFoX.exe as shown below:</p>
<ol>
<li>Click the button <strong>Patch</strong></li>
<li>Click on <strong>Generate</strong></li>
</ol>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2019%2F06%2Factive.jpg" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter wp-image-14635 size-full" src="https://anonyviet.com/wp-content/uploads/2019/06/active.jpg" alt="Patch Navicat Premium 15" width="777" height="293" srcset="https://anonyviet.com/wp-content/uploads/2019/06/active.jpg 777w, https://anonyviet.com/wp-content/uploads/2019/06/active-300x113.jpg 300w, https://anonyviet.com/wp-content/uploads/2019/06/active-768x290.jpg 768w, https://anonyviet.com/wp-content/uploads/2019/06/active-750x283.jpg 750w" sizes="auto, (max-width: 777px) 100vw, 777px" title="Download Navicat Premium 15 Full - Centralized database management software 13"/></a></p>
<p>Above in the box below there will be an Active Code, Copy that code and paste it into the Activation Code window.</p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2019%2F06%2F3.jpg" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter wp-image-14636 size-full" src="https://anonyviet.com/wp-content/uploads/2019/06/3.jpg" alt="Activation Code" width="380" height="390" srcset="https://anonyviet.com/wp-content/uploads/2019/06/3.jpg 380w, https://anonyviet.com/wp-content/uploads/2019/06/3-292x300.jpg 292w" sizes="auto, (max-width: 380px) 100vw, 380px" title="Download Navicat Premium 15 Full - Centralized database management software 14"/></a></p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;14632&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/download-navicat-premium-15-full-centralized-database-management-software/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2019/06/Navicat-Premium12-full-key-actived.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>Backup and Restore MySQL Database with command (Command)</title>
		<link>https://en.anonyviet.com/backup-and-restore-mysql-database-with-command-command/</link>
					<comments>https://en.anonyviet.com/backup-and-restore-mysql-database-with-command-command/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Fri, 27 Jan 2023 15:26:53 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[restore]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=4962</guid>

					<description><![CDATA[Backing up data is an integral part of a Database administrator. Hence the work backup (backup) MySQL database regularly is necessary. Most of you often use phpmyadmin to backup or restore. You can simplify by use command in terminal To backup and restore, follow the instructions below: General notes in commands: [uname] : user database&#13; [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div>
<h2 id="ftoc-sao-luu-du-lieu-la-mot-phan-khong-the-thieu-cua-quan-tri-vien-database-do-do-viec-backup-sao-luu-mysql-database-thuong-xuyen-la-can-thiet-da-so-cac-ban-thuong-dung-phpmyadmin-de-bac" class="ftwp-heading">Backing up data is an integral part of a Database administrator.  Hence the work <em>backup (backup) MySQL database</em> regularly is necessary.  Most of you often use phpmyadmin to backup or restore.</h2>
<h2 id="ftoc-ban-co-the-don-gian-hoa-bang-cach-su-dung-lenh-trong-terminal-de-backup-va-restore-theo-huong-dan-duoi-day" class="ftwp-heading">You can simplify by <em>use command in terminal</em> To backup and restore, follow the instructions below:</h2>
<h2 id="ftoc-ghi-chu-chung-trong-cac-cau-lenh" class=" ftwp-heading"><strong><span style="font-size: 14pt;">General notes in commands:</span></strong></h2>
<pre class="lang:default highlight:0 decode:true ">[uname] : user database&#13;
[dbname] : Tên database&#13;
[bk.sql] : Tên file backup sẽ được tạo ra&#13;
[--opt] : Các tùy chọn thêm của lệnh</pre>
</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<h3 id="ftoc-1-backup-bang-lenh-trong-terminal-sao-luu" class="ftwp-heading"><span style="color: #0000ff;"><strong>1. Backup by command in Terminal (backup)</strong></span></h3>
<p>Use the following structure:</p>
<pre class="">$ mysqldump --opt -u [uname] -p [dbname] &gt; [bk.sql]</pre>
<p><em>Eg : </em>To backup database Duyquangnet</p>
<pre class="">$ mysqldump -u root -p duyquangnet &gt; bk_duyquangnet.sql</pre>
<p>You can also customize the backup separately from the table by selecting the table to backup with the command below:</p>
<pre class="">$ mysqldump -u root -p duyquangnet table_a table_b &gt; bk_duyquangnet.sql</pre>
<p><strong>Back up MySQL Database automatically compresses</strong></p>
<p>If your database is too large, you can let it automatically compress to reduce the size, we can use the compression command structure with gzip</p>
<pre class="">$ mysqldump -u [uname] -p [dbname] | gzip -9 &gt; [bk_duyquangnet.sql.gz]</pre>
<h3 id="ftoc-2-restore-mysql-database-phuc-hoi" class="ftwp-heading"><strong><span style="color: #0000ff;">2. Restore MySQL Database</span></strong></h3>
<p>The command below is used to Restore, used in case your Database has a problem or error, and you want to restore the previous version.</p>
<p><strong>Requirements: Must have a file backup database (in item 1)</strong></p>
<pre>$ mysql -u [uname] -p [dbname] &lt; [backupfile.sql]</pre>
</p>
<p>Example: Restore database Duyquangnet</p>
<pre class="">$ mysql -u root -p duyquangnet &lt; bk_duyquangnet.sql</pre>
<p><strong>Recover a pre-compressed database</strong></p>
<pre>gunzip &lt; [backupfile.sql.gz] | mysql -u [uname] -p [dbname]</pre>
<p>If you have an already created database, then use the mysqlimport command to restore.  The command structure is as follows:</p>
<pre class="">mysqlimport -u [uname] -p [dbname] [bk.sql]</pre>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/backup-and-restore-mysql-database-with-command-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2016/01/script-backup-code-va-database-tu-vps-nay-sang-vps-kia-khong-can-hzserver-2.png" medium="image"></media:content>
            	</item>
		<item>
		<title>Create Database and User MySQL with Command (Command)</title>
		<link>https://en.anonyviet.com/create-database-and-user-mysql-with-command-command/</link>
					<comments>https://en.anonyviet.com/create-database-and-user-mysql-with-command-command/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Fri, 27 Jan 2023 15:06:12 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[User]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=4953</guid>

					<description><![CDATA[The following article will guide you to create users and databases using MySQL via the command line (Terminal). Join the channel Telegram of the AnonyViet 👉 Link 👈 MySQL Login mysql -u root -p Create a new database create database tên_database_muốn_tạo ; Create and assign permissions for users create user 'tên_username'@'localhost' identified by 'password_muốn_tạo'; To [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div>
<p>The following article will guide you to create users and databases using MySQL via the command line (Terminal).</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><strong>MySQL Login</strong></p>
<pre class="">mysql -u root -p</pre>
<p><strong>Create a new database</strong></p>
<pre class="">create database tên_database_muốn_tạo ;</pre>
<p><strong>Create and assign permissions for users</strong></p>
<pre class="">create user 'tên_username'@'localhost' identified by 'password_muốn_tạo';</pre>
<p>To change the user&#8217;s password, use the command:</p>
<pre class="">set password for 'tên_username'@'localhost' = password('password_muốn_đổi');</pre>
<p>Set all permissions for the user using the command:</p>
<pre class="">grant all on tên_database.* to tên_username@localhost;</pre>
<p>If you want to assign limited permissions to users, use the following command line:</p>
<pre class="">grant SELECT on tên_database.* to tên_username@localhost;</pre>
<p>Change the word <strong>SELECT</strong> with one of the following rights</p>
<p>List of permissions you can set for the user:</p>
<pre class="lang:default decode:true">ALL&#13;
ALTER&#13;
CREATE VIEW&#13;
CREATE&#13;
DELETE&#13;
DROP&#13;
GRANT OPTION&#13;
INDEX&#13;
INSERT&#13;
SELECT&#13;
SHOW VIEW&#13;
TRIGGER&#13;
UPDATE</pre>
<p><strong>Reload all the privileges</strong></p>
<pre>FLUSH PRIVILEGES;</pre>
<p>Exit MySQL command mode</p>
<pre class="lang:default decode:true ">exit</pre>
</p>
<p>Here is the entire command to create a database, a user and assign user permissions to the database:</p>
<p>You can change the database name, user, password as you like</p>
<div class="_2cuy _3dgx _2vxa">
<pre class="lang:default decode:true  ">mysql -u root -p&#13;
create database dq_website;&#13;
create user duyquang@localhost;&#13;
SET PASSWORD FOR duyquang@localhost= PASSWORD("123456");&#13;
GRANT ALL PRIVILEGES ON dq_website. * TO duyquang@localhost IDENTIFIED BY "123456";&#13;
FLUSH PRIVILEGES;&#13;
exit;</pre>
</p>
</div>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;1421&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
<p><!-- AI CONTENT END 2 --></p></div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/create-database-and-user-mysql-with-command-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2016/01/NewUserMySQL-twitter.png" medium="image"></media:content>
            	</item>
	</channel>
</rss>
