Forums / General / error 2002 (hy000)

error 2002 (hy000)

Author Message

alyssa coca

Thursday 06 January 2011 12:33:21 am

hi to all.. i just want to know if how to resolve error 2002 (hy000) in mysql.. my ezpublish site is perfectly working then suddenly, when i want to access mysql, this error occurred..

"ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'
(2)"

Bertrand Dunogier

Thursday 06 January 2011 12:58:41 am

Anything particular in the MySQL logs ?

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

alyssa coca

Thursday 06 January 2011 8:21:40 pm

my log said

[ERROR] Fatal error: Can't open and lock privilege tables: Table
'mysql.host' doesn't exist

Quoc Huy Nguyen Dinh

Wednesday 12 January 2011 3:56:33 am

Might help:

http://www.linuxquestions.org/questions/*bsd-17/table-mysql-host-doesnt-exist-87041/

eZ debug

Timing: Jan 17 2025 23:45:29
Script start
Timing: Jan 17 2025 23:45:29
Module start 'content'
Timing: Jan 17 2025 23:45:29
Module end 'content'
Timing: Jan 17 2025 23:45:30
Script end

Main resources:

Total runtime0.7285 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 588.6953181.6953
Module start 'content' 0.00870.5983 770.3906599.8672
Module end 'content' 0.60710.1214 1,370.2578333.3984
Script end 0.7284  1,703.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5663210.0002
Check MTime0.00150.2042210.0001
Mysql Total
Database connection0.00220.301610.0022
Mysqli_queries0.649489.14642000.0032
Looping result0.00180.25201980.0000
Template Total0.696395.620.3482
Template load0.00210.290320.0011
Template processing0.694295.288920.3471
Template load and register function0.00010.017810.0001
states
state_id_array0.00130.181210.0013
state_identifier_array0.00130.176720.0006
Override
Cache load0.00170.2398180.0001
Sytem overhead
Fetch class attribute can translate value0.00140.187440.0003
Fetch class attribute name0.00130.182070.0002
XML
Image XML parsing0.00300.407040.0007
class_abstraction
Instantiating content class attribute0.00000.002180.0000
General
dbfile0.00420.5783410.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs