phpMyAdmin does not run SQL and shows "Loading" message - sql

I installed Ubuntu 12.04 with its LAMP stack:
PHP 5.3.10
MySQL 5.5.24
Apache 2.2.22
phpMyAdmin 3.4.10.1deb1.
phpMyAdmin is working except when I run SQL query sometimes it runs OK but in most cases phpMyAdmin shows “Loading” message on the yellow background and then stops running the query like nothing happened without giving any error message.
I tried to run incorrect SQL code and phpMyAdmin does not show any errors, just shows “Loading” message.
I run those SQL queries via older phpMyAdmin on older versions of LAMP without problems.

I have experienced this too in a WAMP stack-- it appears to happen when the result of the query would be an empty result. You can verify this by running the same query from the mysql CLI, or alter the query to ensure that some records match the search.
I assume this may be a bug in phpmyadmin.

Related

SQL Server Browser won't start

I want to start playing around with databases in Java to help with my university work however I can't get SQL Server to work properly. I've installed it using the wizard and selecting 'Basic' the installing SSMS. However when launching SSMS I get Error 26. When researching this it says to make sure that the SQL Server Browser service is running. Unfortunately this is the issue, every time I try to start the service it fails.
All the fixes I've seen about this topic have been related to servers on another machine where as I am trying to run the server on my own PC. I've tried them anyway but nothing has worked so far. The only thing I can find that might give you a clue in helping me is that in the log file it says that it failed to register the SPN.
When working on my local machine, I don't usually need SQL Server browser - but my SQL Server itself isn't set up to run automatically.
You can go to services (either via window and search for 'services', or in Windows 10 open the task manager, go to the last tab 'services'). Find the 'SQL Server' service (it helps to sort by description column) and right click -> start.
If you take note of the name (default is 'MSSQLSERVER') you can start the service (e.g., in a batch file, from command line) using sc start "MSSQLSERVER" (or whatever your server instance is called).

Cannot login to SQL Server 2008 remotely - Error 1326 - Incorrect user or pass

I have a problem trying to connect to SQL Server 2008 SP3. It's really strange, I have looked everywhere for an answer and couldn't find anyone experiencing the same problems. I'll try to explain.
I can connect to my server locally, both using Windows login and SQL Server authentication, but when I try to connect remotely, I get error 1326 and an error message specifying Incorrect username or password.
Then I login locally to SQL, but the error log doesn't show up anything.
Yesterday, it showed the login errors, but now it's not showing up anymore. It's like it's trying to connect to another instance of SQL, though I checked by doing SELECT ##VERSION and running osql -L from the command line, and both of them show just one server instance running.
What's even more strange, I just tried stopping the SQL Server service and logging in again. It still shows the same error: 1326 - Incorrect username or password. It should have told me that the server cannot be found or something like that. How does it show incorrect user or pass when the server is offline?
Any kind of help would be greatly appreciated. Thank you very much in advance.

ColdFusion SQL Server Error Too many open files error?

I have an API developed in ColdFusion 9 that continuously searches for items and inserts a record on the outcome of that search into a SQL Server 2008 table but I'm noticing a lot of errors in my Application log for the following error:
Error Executing Database Query.[Macromedia][SQLServer JDBC Driver]Error establishing socket to host and port: X.X.X.X:X. Reason: Too many open files. The specific sequence of files included or processed is: foo.cfm, line: 203
I realise there's not much to go on here but that's all the info I have from the logs.
Anyone have the faintest idea what might be going on?!
I got a similar error from using and old version of Lucene. Because Lucene used an old version of apache commons io that would sometimes stop closing the file read by the Lucene Index. So every time someone woul do a search a file would be opened and never closed. Eventually we hit the file open limit which would cause various problem on the server. One Of which is you can't connect to a datasource.
We had to bounce the server a couple times to release the open files. And then we updated our Lucene software to the latest version.
I believe Lucene is what Solr runs on (the cf index).
This happened on a Linux machine and we were running java, not coldfusion (but cf runs on Java)

PHP my admin doesnt work anymore after fatal error

PHP my admin doesnt work anymore.. this is the error:
Fatal error: Maximum execution time of 100 seconds exceeded in
C:\wamp\apps\phpmyadmin3.5.1\libraries\session.inc.php on line 96
I was running a query for 70.000 rows, but he was loading for a very long time. Now closed my browser and tried to start phpmyadmin again. But now I can't start phpmyadmin anymore.
If phpmyadmin does not respond anymore, the query might still be running and blocking your connection. Try connecting via console, if possible*, and do the following:
mysql> SHOW PROCESSLIST;
This will show you which process/es are still running, how long they have been running and most important, their id. If you see your monster query from before, kill it:
mysql> KILL QUERY 123;
*) if you don't have console access, you could also try to open phpMyAdmin from another browser and run the commands there.

#1045 Cannot log in to the MySQL server

I am on Mac OSX using Zend Studio and suddenly one day I got error #2002, then when I tried to change the settings from localhost to 127.0.0.1 I started to get error #1045.
I looked everywhere for an answer but nothing worked for me. My last hope is to reinstall a fresh copy, but I would like to retrieve my database tables, any idea how can that be done would be much appreciated.
I should mention that the error is given when entering the default user & password 'root' & ''. I tried entering my computers password and it worked, but it's not the same installation as I don't see the tables I was working on.
To be 100% percent sure the problem doesn't came from Zend Studio try to use Sequel Pro to access and backup your database.