Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8313221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:25:06+00:00 2026-06-08T20:25:06+00:00

I run Fedora 17 with Webadmin. So I tried to use webadmin option to

  • 0

I run Fedora 17 with “Webadmin”. So I tried to use webadmin option to update upload maximum size to my MySQL database. Now, I not able to restart mysqld. I have no GUI, so when run systemctl status mysqld.service I gives me this message:

[root@localhost ~]# systemctl status mysqld.service
mysqld.service - MySQL database server
          Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled)
          Active: failed (Result: exit-code) since Mon, 30 Jul 2012 15:08:26 -0400; 6min ago
         Process: 3560 ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID (code=exited, status=1/FAILURE)
         Process: 3559 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
         Process: 3542 ExecStartPre=/usr/libexec/mysqld-prepare-db-dir (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/mysqld.service

Jul 30 15:08:23 localhost mysqld_safe[3559]: 120730 15:08:23 mysqld_safe Logging to '/var/log/mysqld.log'.
Jul 30 15:08:23 localhost mysqld_safe[3559]: 120730 15:08:23 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

or when I try to access my phpmyadmin screen i see this message:

phpMyAdmin - Error
#2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
The server is not responding (or the local server's socket is not correctly configured).

When I run in terminal locate mysql.sock it shows the correct path /var/lib/mysql/mysql.sock.
But when I run this command ls /var/lib/mysql, I not able to locate this file.

Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T20:25:08+00:00Added an answer on June 8, 2026 at 8:25 pm

    After punching my monitor and kicking my server I was able to find a fix. Not sure how safe or good at is, but it works to me.

    In terminal open up your my.cnf file # nano /etc/my.cnf

    Delete or just comment all existing settings with ‘#’, then just paste this code that I found on http://blog.mclaughlinsoftware.com/2011/12/07/fixing-my-cnf-on-fedora/

    [mysqld]
    # Settings user and group are ignored when systemd is used.
    # If you need to run mysqld under different user or group,
    # customize your systemd unit file for mysqld according to the
    # instructions in http://fedoraproject.org/wiki/Systemd
    
    # Default directory.
    datadir=/var/lib/mysql
    
    # The TCP/IP Port the MySQL Server listens on.
    port=3306
    
    # The Linux Socket the MySQL Server uses when not using a listener.
    # socket=/var/lib/mysql/mysql.sock
    
    # Disabling symbolic-links is recommended to prevent assorted security risks
    symbolic-links=0
    
    # The default storage engine that will be used when creating new tables.
    default-storage-engine=INNODB
    
    # Set the SQL mode to strict.
    sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
    
    # Set the maximum number of connections.
    max_connections=100
    
    # Set the number of open tables for all threads.
    table_cache=256
    
    # Set the maximum size for internal (in-memory) temporary tables.
    tmp_table_size=26M
    
    # Set how many threads should be kept in a cache for reuse.
    thread_cache_size=8
    
    # MyISAM configuration.
    myisam_max_sort_file_size=100G
    myisam_sort_buffer_size=52M
    key_buffer_size=36M
    read_rnd_buffer_size=256K
    sort_buffer_size=256K
    
    # InnoDB configuration.
    innodb_data_home_dir=/var/lib/mysql
    innodb_additional_mem_pool_size=2M
    innodb_flush_log_at_trx_commit=1
    innodb_log_buffer_size=1M
    innodb_buffer_pool_size=25M
    innodb_log_file_size=5M
    innodb_thread_concurrency=8
    
    [mysqld_safe]
    log-error=/var/log/mysqld.log
    pid-file=/var/run/mysqld/mysqld.pid
    

    Open for any comments or suggestions.
    Thank you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run several queries from mysql command line on my linux box (Fedora Os).
i would like to use Eclipse on Fedora. When i run a simple program
In a linux server(fedora), we run a single JBOSS Application Server, and we use
I use fedora 15, here is what i get when i try to run
I run rvm install 1.9.3 to update Ruby on my Fedora 15. But it
My problem is that, when trying to run MYSQL on Fedora, I am faced
Is it possible to run .pkg files in Ubuntu or Fedora. If so, how
When I try to run eclipse under Fedora core 13 x86_64, eclipse seems to
I'm using Fedora 15 64bit and python 2.7 When I run python test.py from
For some reason, if I run Firefox 3.5.x under Fedora 11 with SELinux enabled,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.