1.Go to /etc/phpmyadmin/config.inc.php and open it your favorite editor.

2.Search for below line of code

//$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

code lines will be looks like :-

if (!empty($dbname)) {
//More code here
/* Uncomment the following to enable logging in to passwordless accounts,
* after taking note of the associated security risks. */
// $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
/* Advance to next server for rest of config */
$i++;
}

And    uncomment the    //$cfg[‘Servers’][$i][‘AllowNoPassword’] = TRUE; (just remove “//” from start) to make login in phpmyadmin with password

/* Uncomment the following to enable logging in to passwordless accounts,
* after taking note of the associated security risks. */
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

Note :-If you are using older version of php then may be there is another same line of code so you need to uncomment also these lines like

if (!empty($dbname)) {
// other configuration options
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
$i++;
}
// another code found here
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

3.Save your file and done try to login your phpmyadmin without password. If you still have issue try to restart your apache services by following command. For more    How to restart apache ubuntu

sudo service apache2 restart

4.If you still facing issue you need reinstall mysql again by running following command through terminal. For more    How to install mysql?

sudo apt-get install mysql-server mysql-common mysql-client

And run your phpmyadmin and login without password now you are done you have fixed error    Login without a password is forbidden by configuration (see AllowNoPassword) in ubuntu .

(phpmyadmin error)Login without a password is forbidden by configuration (see AllowNoPassword) in ubuntu More articles about

  1. Support Vector Machine (3) : Let's talk about generalization error (Generalization Error)

    Catalog Support Vector Machine (1) : Simple SVM principle Support Vector Machine (2) : Sequential Minimal Optimization ...

  2. Standard deviation (standard deviation) And standard error (standard error) Can you explain clearly ?

    by:ysuncn( Welcome to reprint , Please indicate the original information ) What is the standard deviation (standard deviation) Well ? According to the international organization for Standardization (ISO) The definition of : Standard deviation σ Is variance σ2 The square root of : And variance is the quadratic deviation of the expectation of a random variable ...

  3. Standard deviation (standard deviation) And standard mistakes (standard error) Can you explain ?

    by:ysuncn( Welcome to reprint , Please indicate the original information ) What is the standard deviation (standard deviation) Well ? According to the international organization for Standardization (ISO) The definition of : Standard deviation σ Is variance σ2 The square root of . And variance is the quadratic expectation of random variables ...

  4. Spring Security( Thirty-three ):10.3 Password Encoding

    Spring Security’s PasswordEncoder interface is used to support the use of passwords which are encode ...

  5. Unable to enable plug-in , Because it caused a fatal mistake (fatal error).

    About wordpress The error caused by a plug-in cannot be enabled ,php in error ,Cannot redeclare wpb_getImageBySize(). The problem is also in me wordpress Version from v4.1 Generate v4. ...

  6. Master Lu of kengdai ,VMware Workstation Report errors (AsyncSocket error) A solution

    I'm going to install VMware Play Switch to VMware Workstation, After all Workstation The snapshot function of is very necessary . result ,VMware Workstation After successful installation , ...

  7. pom The file syntax is correct, but the Red Cross is reported (Unknown error) Possible causes of

    Link to this article :https://blog.csdn.net/Little_Stars/article/details/94553090 Possible causes and solutions : >> The cache problem , as long as “Maven - ...

  8. VC Use in ATL Library to achieve regular expression matching (ADODB::Error)

    1. Make sure that in the project properties ATL Use is on . Such as VS Project properties in general —ATL Use — Statically link to ATL 2. Add header files when using #include "atlrx.h" 3. Use sample code ...

  9. ASP.NET Uploadify The upload file is too large Report errors (http error) reference , In case you forget

    Uploadify The upload file was used a long time ago , Nothing wrong . In the process of reuse today , When the file is greater than 30M It's a mistake 404. Check the error message to indicate that the maximum upload configuration is too small . Need modification . Remember that the original configuration upload file size is here :&l ...

Random recommendation

  1. bzoj1468 Tree

    The most classic point divide and conquer problem , When recursing subtree, subtract the illegal scheme when calculating father . #include<iostream> #include<cstdio> #include<cstring ...

  2. IOS In development @2x Pictures, etc. are suitable for mobile phones with different resolutions

    In development , for example : nanshanImage.image=[UIImage imageNamed:@'index_pic.png']; It's in the project, it's still being saved index_pic@2x.png Pictures of the , This picture is just for ...

  3. EntityFramework ,ef Introduce

    EntityFramework Domain Driven Design Practice Layered architecture Before introducing instances , We need to review , And learn more about layered architecture .“ layer ” It's an architecture pattern [POSA1], It is also the most widely used and flexible by the majority of software practitioners ...

  4. iOS Xcode8 The adaptation of

    1. After opening the app, a lot of log Information resolvent : Xcode8 inside Edit Scheme... -> Run -> Arguments, stay Environment Variables inside ...

  5. A Round Peg in a Ground Hole - POJ 1584 ( Judging convex polygons &amp; The judgment point is in the polygon &amp; Judge that the circle is in the polygon )

    The main idea of the topic : First, give the radius and center of a circle , Then give all the points of a polygon ( Polygons are given clockwise or counterclockwise ), seek , Is this polygon convex , If it's a convex polygon, judge whether the circle is in the convex polygon .   analysis : Judging a convex polygon can ...

  6. java in super(), And construction method chain (constructor chaining)

    public class Apple extends Fruit { } class Fruit{ public Fruit(String name){ System.out.println(&quo ...

  7. Java Learning notes 53( Network programming :TCP Agreement cases )

    Simple cases client : package demo; import java.io.IOException; import java.io.InputStream; import java.io.Outp ...

  8. About loading

    In development , It's inevitable loading Appearance , To improve the user experience , I'm looking for it myself , It sums up two : 1.window.onload Show when loading, First loading Pictures are always there ,window. ...

  9. ruia note

    ruia note loop = loop or asyncio.new_event_loop() get_event_loop() Method only works in the same thread , If in a new thread , Should use the new_event_l ...

  10. 010-java Form mode or base64 How to upload pictures , The back-end using nutz Of post Forward the picture to another request

    Upload pictures locally Mode one . Upload using a form -enctype <form enctype="multipart/form-data" method="post" ...