Wishlist 0 ¥0.00

How to Fix the Joomla 3.0 "Error displaying the error page: Application Instantiation Error" even if you configuration.php file is correct and unchanged.

 

Internal Serve Error
So you got a "Error displaying the error page: Application Instantiation Error" did ya? And now your Joomla 3 site won't show. Here is the complete guide on how to fix this issue.
 
IMPORTANT! Joomla will show the "Error displaying the error page: Application Instantiation Error" if your configuration.php file is not correctly configured. I.E. if the information used to connect to your Joopmla databes is NOT correct, you will always get the "Application Instantiation Error", but you may also get the error even if everthing seams to be correct. If you know your configuration.php file is perfect skip solution 2 below.
 
UPDATE: BEFORE YOU START.
Louis notes bellow in comments (Thanks Louis!) that if you are running joomla 3, you must make sure the line in the configration.php which tells Joomla what type of database to connect to is correct. Quite often the "Error displaying the error page: Application Instantiation Error" message will display if it is set to "mysqli" but the database is actually a mysql database. The line you are looking for in the configuration.php is:
    public $dbtype = 'mysql';
Make sure the databse type matches your database, if you are not sure, consult your webhosting company.
 

Solution 1: Check you configuration.php file:

The following items in your configuration.php file need to be correct for Joomla 3.1 (and above) to work (and not display: "Error displaying the error page: Application Instantiation Error"):
 
  • The database name in your configuration.php must match that of what is configured on your hosting account
  • The database username in your configuration.php must match that of what is configured on your hosting account
  • The database password in your configuration.php file must match what is configured on your hosting account
  • The database hostname in your configuration.php file must match what is configured on your hosting account
 
So…
Check you database name is correct
Check your database username is correct
Check the password and then..
Check your hostname is also, you know,…. correct.
 

Solution 2: Fix you database file from the Joomla backend.

The other reason you might get the "Error displaying the error page: Application Instantiation Error" is a type of corruption in your database. Don't worry it's easy to fix from the backend. If you don't have access to the Joomla backend, then skip to Solution 3.
 
Log on to you Joomla site (the one showing the "Error displaying the error page: Application Instantiation Error") and click on Extensions>Extensions Manager. On the left side you will find a list, click on "Database". Notice how a button called fix appears? (see screenshot below). Just click the Fix button and your "Error displaying the error page: Application Instantiation Error" days are over!
 
Fix Database Joomla 3

 

Solution 3: Get down and dirty with MySQL.

 
If none of the other "Error displaying the error page: Application Instantiation Error" solutions working for you, don't worry, I got your back. Log in to your hosting account and click on the icon for "phpMyAdmin". You will need to put in your login credentials to get in to your database, after that solving the "Application Instantiation Error" error is easy.
 
If you click on click on the database pane to the left, you will see all the tables of the database listed in the main pane of phpmyadmin.
 
To repair your database, scroll to the bottom of the tables and click the the words "check all".
 
Now, from the drop down menu just to the right, click and choose "repair tables" from the dropdown menu (this is an easy solution to simply fix a SQL database with no Joomla 3.1 backend access).
 
Here's a screen shot:
 
repair Joomla mysql tables on phpmyadmin
 
Did this fix your Error displaying the error page: Application Instantiation Error? If not, then try this:

 

Solution 4, Set database permisions:

 
This alst solution to the "Application Instantiation Error" was suggested to me by someone else but I have not testes it. Call it an "if all else fails" option when the above solutions don't solve the error.
 
If everything seams correct with the configuration of your joomla and the database, it has been suggested that you will need to use phpmyadmin to open your database and check the permissions. Your dtabase should allow "delete table data" and "CREATE TABLE IF NOT EXISTS IF NOT EXISTS IF NOT EXISTS" permissions for the user which you Joomla website uses to connect to the databse. In most cases you will only have one user which connects to the database, so just make sure that there are "delete table data" and "CREATE TABLE IF NOT EXISTS IF NOT EXISTS IF NOT EXISTS" permissionsfor the database (opening the databse in phpmyadmin and check it there).
 

Final thoughts on the "Error displaying the error page: Application Instantiation Error"...

 
I don't actaqully know for certain what causes the problem with the Joomla Database and would love to hear from anyone who know exactly how to stop the Application Instantiation Error from appearing in the first place. UPDATE: Another theoery is that it might be about aleviated by increasing the amount of memory allocated to php on the server, you could ask your hosting provider to do this. Like I say, I'm not sure about that, just a theory...
 
Prevention is always better than cure. Let me know if you have anything to add, make a comment! (thanks to comments, I have updated this with better information)

如果mysql系统变慢了该怎么办?

第一步 检查系统的状态
通过操作系统的一些工具检查系统的状态,比如CPU、内存、交换、磁盘的利用率,根据经验或与系统正常时的状态相比对,有时系统表面上看起来看空闲,这也可能不是一个正常的状态,因为cpu可能正等待IO的完成。除此之外,还应观注那些占用系统资源(cpu、内存)的进程。

1.1 使用sar来检查操作系统是否存在IO问题
#sar -u 2 10 -- 即每隔2秒检察一次,共执行20次。
结果示例:
注:在redhat下,%system就是所谓的%wio。
Linux 2.4.21-20.ELsmp (YY075) 05/19/2005
10:36:07 AM CPU %user %nice %system %idle
10:36:09 AM all 0.00 0.00 0.13 99.87
10:36:11 AM all 0.00 0.00 0.00 100.00
10:36:13 AM all 0.25 0.00 0.25 99.49
10:36:15 AM all 0.13 0.00 0.13 99.75
10:36:17 AM all 0.00 0.00 0.00 100.00
其中:
Ø %usr指的是用户进程使用的cpu资源的百分比;
Ø %sys指的是系统资源使用cpu资源的百分比;
Ø %wio指的是等待io完成的百分比,这是值得观注的一项;
Ø %idle即空闲的百分比。
如果wio列的值很大,如在35%以上,说明系统的IO存在瓶颈,CPU花费了很大的时间去等待I/O的完成。Idle很小说明系统CPU很忙。像以上的示例,可以看到wio平均值为11,说明I/O没什么特别的问题,而idle值为零,说明cpu已经满负荷运行了。

1.2 使用vmstat监控内存 cpu资源
[root@mysql1 ~]# vmstat

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------

r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st

0  0     72  25428  54712 672264    0    0    14    43   53   59  1  1 98  0  0 



vmstat 的输出那些信息值得关注?

  io bo: 磁盘写的数据量稍大,如果是大文件的写,10M以内基本不用担心,如果是小文件写2M以内基本正常



1.2.1 CPU问题
下面几列需要被察看,以确定cpu是否有问题
Processes in the run queue (procs r)
User time (cpu us)
System time (cpu sy)
Idle time (cpu id)

问题情况:
1.) 如果processes in run queue (procs r)的数量远大于系统中cpu的数量,将会使系统变慢。
2.) 如果这个数量是cpu的4倍的话,说明系统正面临cpu能力短缺,这将使系统运行速度大幅度降低
3.) 如果cpu的idle时间经常为0的话,或者系统占用时间(cpu sy)是用户占用时间(cpu us)两辈的话,系统面临缺少cpu资源
解决方案 :
解决这些情况,涉及到调整应用程序,使其能更有效的使用cpu,同时增加cpu的能力或数量

1.2.2内存问题
主要查看页导入的数值(swap中的si),如果该值比较大就要考虑内存,大概方法如下:
1).最简单的,加大RAM   
2).减少RAM的需求

1.3磁盘IO问题
处理方式:做raid10提高性能

关闭swap分区,提高内存使用率,预防swap颠簸

1.4网络问题
telnet一下MySQL对外开放的端口,如果不通的话,看看防火墙是否正确设置了。另外,看看MySQL是不是开启了skip-networking的选项,如果开启请关闭。

第二步 检查mysql参数
2.1 几个不被注意的mysql参数
2.1.1 max_connect_errors
max_connect_errors默认值为10,如果受信帐号错误连接次数达到10则自动堵塞,需要flush hosts来解除。如果你得到象这样的一个错误:

Host 'hostname' is blocked because of many connection errors.

Unblock with 'mysqladmin flush-hosts'

这意味着,mysqld已经得到了大量(max_connect_errors)的主机'hostname'的在中途被中断了的连接请求。在max_connect_errors次失败请求后,mysqld认定出错了(象来字一个黑客的攻击),并且阻止该站点进一步的连接,直到某人执行命令mysqladmin flush-hosts。

内网连接的话,建议设置在10000以上,已避免堵塞,并定期flush hosts。

2.1.2 connect_timeout
指定MySQL服务等待应答一个连接报文的最大秒数,超出该时间,MySQL向客户端返回 bad handshake。默认值是5秒,在内网高并发环境中建议设置到10-15秒,以便避免bad hand shake。建议同时关注thread_cache_size并设置thread_cache_size为非0值,大小具体调整。

2.1.3 skip-name-resolve
skip-name-resolve能大大加快用户获得连接的速度,特别是在网络情况较差的情况下。MySQL在收到连接请求的时候,会根据请求包中获得的ip来反向追查请求者的主机名。然后再根据返回的主机名又一次去获取ip。如果两次获得的ip相同,那么连接就成功建立了。在DNS不稳定或者局域网内主机过多的情况下,一次成功的连接将会耗费很多不必要的时间。假如MySQL服务器的ip地址是广域网的,最好不要设置skip-name-resolve。

2.1.4 slave-net-timeout=seconds
  参数含义:当slave从主数据库读取log数据失败后,等待多久重新建立连接并获取数据。默认值是3600秒,如果需要保证同步性,如此NC的参数请极力控制在10秒以下。

2.1.5 master-connect-retry
参数含义:当重新建立主从连接时,如果连接建立失败,间隔多久后重试。默认是60秒,请按照合理的情况去设置参数。



第三步 检查mysql 相关状态值
3.1关注连接数
如果连接数达到了最大连接数,那不管 有多少资源,用户都会阻塞在外面。

修改mysql最大连接数:

打开my.ini,修改max_connections=100(默认为100)。

请根据硬件情况调整到合适的大小,一般经验值可设为3000。Windows服务器大概支持量为1500-1800个连接,linux服务器可以支持到8000个左右。

请将max_user_connections设0--------这个0代表不限制单用户的最大连接数,其最大连接值可以等于max_connections值。

mysql> show global status like 'Max_used_connections';

检查下最大的过往使用连接数,这个值在max_connections的85%左右是比较合适的,如果过高则是max_connections过少或者系统负荷过高了。



3.1.1 mysqladmin -uroot status
[root@mysql1 ~]# mysqladmin -uroot status

Uptime: 1742276  Threads: 2  Questions: 2538  Slow queries: 0  Opens: 145  Flush tables: 1  Open tables: 23  Queries per second avg: 0.1

3.1.2 show full processlist
1.显示所有进程

mysql> show full processlist;

+-----+------+-----------+------+---------+------+-------+-----------------------+

| Id  | User | Host      | db   | Command | Time | State | Info                  |

+-----+------+-----------+------+---------+------+-------+-----------------------+

| 629 | root | localhost | NULL | Query   |    0 | NULL  | show full processlist |

| 633 | root | localhost | NULL | Sleep   |   11 |       | NULL                  |

+-----+------+-----------+------+---------+------+-------+-----------------------+

2 rows in set (0.00 sec)



2.如果正在运行的语句太多,运行时间太长,表示MySQL效率有问题。必要的时候可以将对应的进程kill掉。

杀死休眠的进程kill ID号

mysql> kill 633;

Query OK, 0 rows affected (0.00 sec)



3.关注TIME参数,看看正在运行的用户进程有多少是长时间占用的,具体分析下。

3.1.3使用mysqlreport关注Connections,Threads
__ Connections _________________________________________________________

Max used            3 of  200      %Max:   1.50

Total          30.16k     0.7/s

。。。。。。

__ Threads _____________________________________________________________

Running             1 of    2

Cached              1 of  300      %Hit:  99.99

Created             3     0.0/s

Slow                0       0/s

3.2关注下系统锁情况
3.2.1 mysql> show status like '%lock%';
+-------------------------------+---------+

| Variable_name                 | Value   |

+-------------------------------+---------+

| Com_lock_tables               | 0       |

| Com_unlock_tables             | 0       |

| Innodb_row_lock_current_waits | 0       |

| Innodb_row_lock_time          | 0       |

| Innodb_row_lock_time_avg      | 0       |

| Innodb_row_lock_time_max      | 0       |

| Innodb_row_lock_waits         | 0       |

| Table_locks_immediate         | 2667760 |

| Table_locks_waited            | 0       |


  


3.2.2使用mysqlreport关注Table Locks,InnoDB Lock
__ Questions ___________________________________________________________

Total           3.38M    81.4/s

  DMS           2.88M    69.3/s  %Total:  85.11

  QC Hits     382.70k     9.2/s           11.32

  Com_         90.50k     2.2/s            2.68

  COM_QUIT     30.15k     0.7/s            0.89

  +Unknown         18     0.0/s            0.00

Slow 1 s           92     0.0/s            0.00  %DMS:   0.00  Log: OFF

。。。。。。

__ Table Locks _________________________________________________________

Waited              0       0/s  %Total:   0.00

Immediate       2.67M    64.2/s

。。。。。。

__ InnoDB Lock _________________________________________________________

Waits               0       0/s

Current             0

Time acquiring

  Total             0 ms

  Average           0 ms

  Max               0 ms

。。。。。。

如果wait过多,平均时间过长,那就是查询设计的有问题,仔细关注下超长时间的查询,并打开slow_query_log。

3.3 关注慢查询(slow query)日志
日志必然会拖慢系统速度,特别是CPU资源,所以如果CPU资源充分,可以一直打开,如果不充足,那就在需要调整的时候,或者在replication从服务器上打开(针对select)

mysql> show variables like '%slow%';

+---------------------+----------------------------------------+

| Variable_name       | Value                                  |

+---------------------+----------------------------------------+

| log_slow_queries    | OFF                                    |

| slow_launch_time    | 2                                      |

| slow_query_log      | OFF                                    |

| slow_query_log_file | /data0/mysql/3306/data/mysql1-slow.log |

+---------------------+----------------------------------------+

4 rows in set (0.00 sec)



mysql> set  GLOBAL slow_query_log=on;

Query OK, 0 rows affected (0.00 sec)

3.3.1关注慢查询涉及的表的相关状态
1.       表内记录数。尽量控制在500万行以内(有索引),建议控制在200万行

2.       表内索引的使用。

3.       表如果update,delete,insert频繁,可以考虑optimize table优化下文件存放,索引,存储空间。

4.       表内update,insert,delete查询的锁定时间。

5.       select for update如果条件字段无索引的话,会引起的是锁全表而不是行锁,请关注。

6.       如果查询包括GROUP BY但你想要避免排序结果的消耗,你可以指定ORDER BY NULL禁止排序。

3.3.2定期分析表
ANALYZE TABLE

语法:

ANALYZE [LOCAL | NO_WRITE_TO_BINLOG] TABLE tbl_name [, tbl_name] ...

本语句用于分析和存储表的关键字分布。在分析期间,使用一个读取锁定对表进行锁定。这对于MyISAM, BDB和InnoDB表有作用。对于MyISAM表,本语句与使用myisamchk -a相当。

CHECK TABLE

语法:

CHECK TABLE tbl_name [, tbl_name] ... [option] ...

option = {QUICK | FAST | MEDIUM | EXTENDED | CHANGED}

检查一个或多个表是否有错误。CHECK TABLE对MyISAM和InnoDB表有作用。对于MyISAM表,关键字统计数据被更新。

CHECK TABLE也可以检查视图是否有错误,比如在视图定义中被引用的表已不存在。

CHECKSUM TABLE

语法:

CHECKSUM TABLE tbl_name [, tbl_name] ... [ QUICK | EXTENDED ]
报告一个表校验和。

3.3.3使用optimize table
OPTIMIZE TABLE

语法:

OPTIMIZE [LOCAL | NO_WRITE_TO_BINLOG] TABLE tbl_name [, tbl_name] ...

如果已经删除了表的一大部分,或者如果您已经对含有可变长度行的表(含有VARCHAR, BLOB或TEXT列的表)进行了很多更改,则应使用OPTIMIZE TABLE。被删除的记录被保持在链接清单中,后续的INSERT操作会重新使用旧的记录位置。您可以使用OPTIMIZE TABLE来重新利用未使用的空间,并整理数据文件的碎片。

OPTIMIZE TABLE只对MyISAM, BDB和InnoDB表起作用。

最棒的10款MySQL GUI工具

绝大多数的关系数据库都明显不同于MS Access,它们都有两个截然不同的部分:后端作为数据仓库,前端作为用于数据组件通信的用户界面。这种设计非常巧妙,它并行处理两层编程模型,将数据 层从用户界面中分离出来,同时运行数据库软件制造商专注于它们的产品强项:数据存储和管理。它同时为第三方创建大量的应用程序提供了便利,使各种数据库间 的交互性更强。这类产品包括Embarcadero Rapid SQL和Oracle SQL Developer。这里有十款优秀的MySQL图形化界面。

1. Workbench

制造商:Sun Systems/Oracle 网站:http://dev.mysql.com/downloads/workbench/ 价格:免费 许可证:GPL License 支持平台:Microsoft Windows,Mac OS X,Linux

MySQL Workbench是一款图形化的数据库设计工具,它在一个开发环境中集成了SQL的开发,管理,数据库设计,创建以及维护。它是 fabFORCE.net旗下DBDesigner 4的继承者,并替代了MySQL GUI Tools Bundle。当前版本是5.2,最早版本是5.0,这是为了强调MySQL Workbench是作为DBDesigner4的继承者被开发出来的事实。

2. Navicat

制造商:PremiumSoft ™ CyberTech Ltd. 网站:http://www.navicat.com/en/products/navicat_mysql/mysql_overview.html 价格:如下所示:

Windows Edition ( Non-Commercial ) US $209 (disk)
US $199 (download)
Windows Edition US $379 (disk)
US $369 (download)
Mac OS X Edition ( Non-Commercial ) US $209 (disk)
US $199 (download)
Mac OS X Edition US $329 (disk)
US $319 (download)
Linux Edition ( Non-Commercial ) US $189 (disk)
US $179 (download)
Linux Edition US $329 (disk)
US $319 (download)

配有30天试用版。 许可证:Commercial 或 Non-commercial licenses. 支持平台:Microsoft Windows,Mac OS X,Linux

用于MySQL的Navicat既是一个数据库管理器同时还是一个开发工具。它适用于从3.21以上的任何MySQL数据库服务器,并且支持包括触发器,存储过程,函数,事件,预览和用户管理在内的绝大多数最新的MySQL功能。

Navicat的功能非常复杂,足以满足专业开发人员的各种特殊需求,同时对于MySQL新手来说也非常简单易学。

3. Sequel Pro

制造商:The Sequel Pro Project(开源) 网站:http://www.sequelpro.com/ 价格:免费(接受通过PayPal的捐赠) 许可证:GNU GPL 2.0 支持平台:Mac OS X Tiger Universal Build

Sequel Pro是一款免费的开源程序。它是CocoaMySQL Mac数据库管理程序的继承者。CocoaMySQL是Lorenz Textor的新构想,他是CocoaMySQL的早期的(2003年)主要开发人员。

Sequel Pro用于管理MySQL数据库(本地或在Internet上)。您可以使用它来添加删除数据库和表,修改字段和索引,预览和过滤表的内容,添加编辑删除行,执行自定义查询,转储表或整个数据库。

它兼容MySQL 3.x,4,5。

4. HeidiSQL

制造商:Ansgar Becker 网站:http://www.heidisql.com/ 价格:免费(接受通过PayPal的捐赠) 许可证:GNU General Public License 支持平台:Windows 2000,XP,Vista,7(可通过Wine运行于任何Linux之上)

之前被称为MySQL-Front的HeidiSQL是一款免费的开源客户端,由德国程序员Ansgar Becker开发,同时还得到了一些Delphi贡献者的帮助。用户必须通过许可证书创建一个会话登陆本地或远程MySQL服务器,才可以使用 HeidiSQL管理数据库。通过这个会话,用户可以管理所链接的MySQL服务器的MySQL数据库,并在完成之后断开。它的功能集足够应付绝大多数常 见和高级数据库,表,数据记录选项,但是目前还处于积极的开发中,以求能实现MySQL前端的所有功能。

另外还有一款由Java编写的jHeidi,它被设计用于Mac和Linux计算机。遗憾的是,该项目已于2010年3月终止了。

5. phpMyAdmin

制造商:The phpMyAdmin Project (on Sourceforge)  网站:http://www.phpmyadmin.net/home_page/ 价格:免费(接受通过PayPal的捐赠) 许可证:GNU General Public License, version 2 支持平台:Microsoft Windows,Mac OS X,Linux,PHP 4 - 5,MySQL 3 - 5

PhpMyAdmin是一款免费的软件工具,采用PHP编写,用于在线处理MySQL管理。PhpMyAdmin支持多种MySQL操作,最常用的操作包括管理数据库,表,字段,关系,索引,用户,权限。同时还允许您直接执行SQL语句。

Tobias Ratschiller曾经是IT顾问,后来创建了Maguma软件公司。由于受到Peter Kuppelwieser开发的MySQL-Webadmin的影响,于1998年开始了基于PHP的MySQL的web前端开发。因时间不足,他与 2000年放弃了该项目(以及同样有他开发的phpAdsNew)。就在那时,phpMyAdmin已成为最受欢迎的PHP程序和MySQL管理工具之 一,它拥有广泛的社区用户和贡献者。为了协调越来越多的补丁,Olivier Müller,Marc Delisle以及Loïc Chapeaux三位开发人员在注册 SourceForge.net注册了phpMyAdmin项目,并于2001年接手开发工作。

6. SQL Maestro MySQL Tools Family

制造商:SQL Maestro Group 网站:http://www.sqlmaestro.com/products/mysql/ 价格:范围从$99的非商业程序到$1949的MySQL Admin Tools Bundle,其中包括完整的网站商业许可证外加3年升级。捆绑包中包括了SQL Maestro,Data Wizard,Code Factory,Service Center以及PHP Generator Pro。 许可证:全范围支持从单独的非商业到附带3年免费升级的站点商业许可证 支持平台:Windows 2000,XP,Vista,7

SQL Maestro Group提供了完整的数据库管理,开发和管理工具,适用于所有主流DBMS。通过GUI界面,您可以执行查询和SQL脚本,管理用户以及他们的特权,导 入,导出到处和数据备份。同时,您还可以为所选定的表以及查询生成PHP脚本,并转移任何ADO兼容数据库到MySQL数据库。

捆绑包中包括:

SQL Maestro for MySQL 专业的MySQL GUI管理工具,支持所有最新的MySQL 5.0和5.1。功能包括预览,过程,触发器和表分区。

Data Wizard for MySQL MySQL的转储,以及数据导出/导入工具等。

Code Factory for MySQL 用于编辑SQL脚本和创建SQL语句的可视化工具集。

Service Center for MySQL 用于MySQL服务器维护。

PHP Generator for MySQL 生成高性能MySQL PHP脚本。配有免费版本。

7. SQLWave

制造商:Nerocode 网站:http://www.nerocode.com/ 价格:$99.00 许可证:shareware。查看http://www.nerocode.com/license.txt以获得更多相关信息。 支持平台:Windows 2000,XP,Vista,7

Nerocode SQLWave是一款MySQL GUI客户端工具,被设计用来自动化和简化数据库的开发进程。它同时还提供了更简便的方法来开拓和维护现有数据库,以及不同方式来设计复杂SQL语句,查询和数据操作。兼容MySQL 4.x - 6.x。

配有30天试用版。

8. dbForge Studio

制造商:devart 网站:http://www.devart.com/dbforge/mysql/studio/ 价格:免费的Express版,$49.95(非商业标准版),$99.99(非商业专业版)。 许可证:商业和非商业许可证。提供订阅这一高效快速的方法来实现产品升级和技术支持。 支持平台:Windows 2000,XP,Vista,7

用于MySQL的DbForge Studio提供了图形化的MySQL开发和管理。

有三个版本:Express,Standard,Professional。

Express是免费应用程序,提供用于架构对象,用户账户,SQL脚本和查询的基本功能。

Standard为数据库管理员和开发者提供了附加工具,比如debugger,Query Builder,代码模板,对象检索,各种输出和维护向导。

Professional是全功能版本并添加了以下设计:数据库项目,对数据库结构(架构比较)或数据库内容(数据比较)进行准确的比较和同步,调试已存储的过程和脚本,创建复杂查询。

dbForge的其他工具包括:

Schema Compare for MySQL

Data Compare for MySQL

Query Builder for MySQL

Fusion for MySQL

9. DBTools Manager

制造商:DBTools Software 网站:http://www.dbtools.com.br/EN/dbmanagerpro/ 价格:标准版免费。单一授权的企业版为$69.90 USD。Discounts版适用于所中许可证。 许可:标准版授权于标准免费软件条件。企业版授权于销售单位。 支持平台:Windows 2000,XP,Vista,7

标准版 特别为个人使用设计,它配备最低限功能,适用于数据库新手执行基本的数据库管理。您可以在非商业的前提下免费使用它。如果用于商业使用,您可以购买授权,同时还将提供额外功能。

企业版 特别为企业使用设计,它更适用于那些寻找集成化数据库管理程序的DBA和开发人员。购买前,您可以先试用。企业版的试用版是全功能的,您有20天的时间进行所有的尝试,同时基于完整的体验来决定是否购买。

同时支持MySQL 3,4,5。

10. MyDB Studio

制造商:H2LSoft, Inc. 网站:http://www.mydb-studio.com/ 价格:免费 授权:免费软件 支持平台:Windows 2000,XP,Vista,7

MyDB Studio包含了用于MySQL服务器管理的完整工具集。它可用于创建/编辑/放弃数据库对象,数据库同步,以及数据导出/导入。数据库管理员还可以用 它来执行数据库转移,以及备份和还原。它支持使用SSH隧道来保护您的链接,即便您的主机不允许远程访问链接,用户和权限管理,以及PHP脚本创建,您依 然可以进行连接。

MySQL Workbench使用及教程

MySQL Workbench是一款专为MySQL设计的ER/数据库建模工具。它是著名的数据库设计工具DBDesigner4的继任者。你可以用MySQL Workbench设计和创建新的数据库图示,建立数据库文档,以及进行复杂的MySQL 迁移。MySQL Workbench是下一代的可视化数据库设计、管理的工具,它同时有开源和商业化的两个版本。该软件支持Windows和Linux系统

工具/原料

  • MySQL Workbench 6.2 CE(安装之前请确保mysql server已经安装在本机)
  • Win7系统

方法/步骤

  1. 1

    首先,打开MySQL Workbench,双击打开即可。打开后的界面如下所示,然后选择数据库实例,双击进行登录。图中数据库的实例是Local instance MYSQL57

    MySQL Workbench怎么使用及其使用教程
  2. 2

    然后,输入用户名和密码进行登录。如下图所示:

    MySQL Workbench怎么使用及其使用教程
  3. 3

    登录成功后,界面如下所示。其中,区域1显示的是数据库服务器中已经创建的数据库列表。区域2是关于数据库的操作列表。区域三是sql的编辑器和执行环境,区域4是执行结果的列表

    MySQL Workbench怎么使用及其使用教程
  4. 4

    在sql的编辑器中输入测试语句,如图所示,其中world数据库是mysql自带的测试数据库,然后选择执行(或者使用快捷键ctrl+enter)。执行成功后,查询结果会显示在下面的列表中。

    MySQL Workbench怎么使用及其使用教程
  5. 5

    使用完毕后,直接退出,并且如果无需数据库的后继操作的话,记得关掉MySQL的服务

    MySQL Workbench怎么使用及其使用教程
    END

注意事项

  • workbench是MySQL 服务器的一个图形化管理客户端,功能类似于MySQL Command
  • 注意workbench和相应的服务器版本号的匹配

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.