设为首页 收藏本站
查看: 2413|回复: 0

[经验分享] mysql(或者mariadb)连接工具HeidiSQL

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2013-12-30 09:22:18 | 显示全部楼层 |阅读模式
Some infos around HeidiSQL

Project website: http://www.heidisql.com/
Google Code: http://code.google.com/p/heidisql/


*** What is HeidiSQL?

HeidiSQL is an easy-to-use interface and a "working-horse" for web-developers
using the popular MySQL-Database. It allows you to manage and browse your
databases and tables from an intuitive Windows? interface.

With HeidiSQL you will also be able to
* Manage Microsoft SQL Servers, with a reduced feature set
* Generate nice SQL-exports
* Synchronize tables between two databases
* Manage user-privileges
* Import text-files
* Export grid-data as CSV, HTML, XML, SQL, LaTeX, Wiki and PHP Array style
* Browse and edit table-data using a comfortable grid
* Create and edit tables, views, stored routines, triggers and scheduled events
* Bulk edit tables (move to db, change engine, collation etc.)
* Batch-insert ascii or binary files into tables
* Write queries with customizable syntax-highlighting and code-completion
* Profile your queries
* Pretty reformat disordered SQL
* Monitor and kill client-processes
* Connect to servers via commandline
* Find specific text in all tables of all databases of one server
* Optimize and repair tables in a batch manner
* And much more


*** Requirements:

HeidiSQL runs fine on Windows XP, Vista and 7. Running HeidiSQL on Wine/Linux
also works fine.

On Windows 2000 you might run into some "illegal function call into KERNEL.DLL",
which is caused by the newer libmysql.dll which dropped Win2k support. You can fix
that by placing an older one into the HeidiSQL directory, overwriting the original:
http://heidisql.googlecode.com/s ... nk/out/libmysql.dll

HeidiSQL does not run on Windows 95/98 or ME, as the Unicode extensions are not
available on these systems.


*** Command line switches

Although HeidiSQL is a pure GUI application, it can be automated for connecting
and opening files via command line parameters. Parameter names are case sensitive
and are based on those used by the MySQL command line applications, e.g. mysqldump.

-d, -description    Session name
-h, -host           Host name
-u, -user           User name
-p, -password       Password
-P, -port           Port (defaults to 3306 if not given)
-S, -socket         Socket name (for connecting via named pipe)
--psettings         Custom filename for portable settings. Ignored if file does not exist.
                    Default filename is "portable_settings.txt"

Examples:

* Start over using stored settings from session "xyz":
    c:\path\to\heidisql.exe -d=xyz
    c:\path\to\heidisql.exe -description=xyz

* Connect with different username or port:
    c:\path\to\heidisql.exe -d=xyz -u=OtherUser
    c:\path\to\heidisql.exe -d=xyz -P=3307

* Connect to a non-stored session:
    c:\path\to\heidisql.exe -h=localhost -u=root -p=Mypass -P=3307

* Open multiple .sql files in query tabs:
    c:\path\to\heidisql.exe fileA.sql path\to\fileB.sql fileC.sql ...

* Use custom portable settings file:
    c:\path\to\heidisql.exe --psettings=c:\temp\p.txt


*** HeidiSQL portable:

If HeidiSQL finds a "portable_settings.txt" (or the custom filename as noted above)
it starts in portable mode. Which means basically that all settings are restored
from that file and when exiting stored again into that file.

When you download the portable zip, that "portable_settings.txt" needs to be manually
copied from your old directory, overwriting the empty default file.


*** License:

HeidiSQL is OpenSource and released under GPL (GNU GENERAL PUBLIC LICENSE).

Probably HeidiSQL saved you a lot of time and you like it. In this case you may
make a donation here: http://www.heidisql.com/donate.php


*** Credits:

Author: Ansgar Becker

Former development contributors: David Dindorp, Francisco Ernesto Teixeira

Sven Lorenz (graphics), Mike Lischke + Timo Tegtmeier (VirtualTreeView, GLPL),
Mathias Rauen (madExcept), Ma?l H?rz (SynEdit, MPL), Serhiy Perevoznyk (JumpList),
Jordan Russell (Inno Setup), Lukas Gebauer (Ararat Synapse), Iztok Kacin
(Cromis.DirectoryWatch, BSD License), Mark James (Silk icons, Creative Commons 2.5)

Thanks to Transifex.com for a free translation account, and the following translators:
David Rodrigues (initiator and Portuguese), Richard van Laak (Dutch),
Michele Locati (Italian), viskubov (Russian), Francisco Alvarado (Spanish), TiGeR
(Chinese), Matej Szendi (Czech), jeff.tu (Chinese/Taiwan), Rastislav Janosik
(Slovak), renaud (French), Hichem BOUKSANI (French), s.d.w. (Korean), Alican
?ubuk?uo?lu (Turkish), MichalDCK (Polish), Florin Chis (Romanian), udariza
(Indonesian), Januar (Indonesian), Seiji Ogawa (Japanese), Микола Ковбаса
(Ukrainian), mivzakim (Hebrew), Martin Bedra? (Slovenian), sith (Hungarian),
Xtreme Power (Norwegian), Sasa Kostic (Serbian), Morne Gouws (Afrikaans)

1000 thanks to MySQL and MariaDB for great database software


快快乐乐敲代码,做一个专业的码农!


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-12711-1-1.html 上篇帖子: MySQL编码问题集合 下篇帖子: 在linux上安装mysql mysql
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表