phpmyadmin is stuck at login (nginx server)

I'm running nginx along with fastcgi-php to get php working for phpmyadmin. (I'm developing with Rails primarily.) I'm running everything from a local server on my network.

The rails app is functional. The login screen for phpmyadmin appears and phpinfo() works as well, but when attempting to login to phpmyadmin, I'm thrown back to the login screen with no visible errors.

I'm assuming I may have misconfigured something with the server or have yet to configure phpmyadmin properly.

Here's the relevant code block in nginx.cong=f

server {
        listen       80;
        server_name  localhost;
        root /home/dev/spindle/public;
        rails_env development;
        passenger_enabled on;`

        access_log logs/host.access.log;
        fastcgi_index index.php;

       location /phpmyadmin{  
            root    /usr/share;  
            index   index.php;  

        location ~ \.php$ {
            set $php_root   /home/dev/spindle/public;  
                if ($request_uri ~* /phpmyadmin) {  
                    set $php_root /usr/share;  
                fastcgi_index  index.php;  
                fastcgi_param  SCRIPT_FILENAME  $php_root$fastcgi_script_name;  



If all your configurations for phpMyAdmin are correct but the problem still persists, it could be due lack of disk space. If this is the case, you can use df -h to diagnose the space problem.

My scenario was that a cron was used to create mysqldump of a large database until the space ran out. After deleting the sql dumps, phpMyAdmin logged in as it should.

Hope it helps.

Need Your Help

Converting specical characters in XML stream

xml string mfc

I have an XML stream which contains special characters such ' stored in a CString object. Is there any method other than replacing individual characters in the stream to convert these special chara...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.