I have PHP 5.4 set up, and now MySQL developer 5.5 both installed on my local machine and both working fine separately.
When I go to phpMyAdmin (localhost/phpmyadmin) I receive no errors and the login screen appears perfectly. Only problem I have is that I can't log in. It just comes back to the login screen when I submit login.
I figure it has something to do with the database not running on localhost or with PHP not connecting correctly to the database.
Is there anything I should look at to confirm connection between the two etc?
Take note: I have spent a few hours already Google'ing for solutions.
The problem was solved by removing PHP and uninstalling MySQL and finally installing WAMP server.
Related
I am facing a problem pretty common, I have installed MySql Server because in the past I developed an CRUD app by using Java Swing and Maven, and now I am trying to create same thing, a CRUD app only this time with PHP.
I am following a tutorial from Udemy and this guy is using XAMPP to launch both an Apache Server and a MySQL. But somehow it's interfering with the one already installed on my laptop and cannot make the connection with XAMPP.
I opened my.ini and where says password i put my own from MySQL Workbench, and I see it's using the same port 3306 but still cannot work and I dont know why.
Is there any solution to modify my.ini and establish the connection without uninstalling the MySql Server installed before, because if I do that I ruin the other Java app using it.
Could you please provide the error logs? So the problem can be identified properly. By default, you can get the logs file for Apache in
\xampp\apache\logs\error.log
And for PHP here \xampp\php\logs
I've been working with Xampp and phpmyAdmin and tried to install Wordpress on my computer (Mac). Well, the install was kind tricky but from all accounts it should have worked. After entering database, username, password, and other stuff it successfully installed. However, when i went to refresh (reload), the error message came up (Object Not Found error 404). Cleared the cache, deleted and created a new database in phpmyAdmin and started over again. Once more, it installed successfully but when i tried to access the site (via localhost), the same error message came up again. Can anyone please help? Thank you.
I am unable to login to MySQL. I am using Phpmyadmin interface. Please note that it is not #1045 error which has plenty of solutions on the internet including this website. When I try to login it simply shows this error
Cannot log in to the MySQL server
and nothing else no error number or anything else and I'm guessing that my MySQL and PHP server are not starting at all because I also cannot run sites on localhost. I am using WAMP on Windows machine. Please tell me how to solve this problem and I don't want to uninstall and reinstall WAMP because I have not taken backup of all the databases on MySQL and if I uninstall it will delete all the databases. Please help.
Reset your password.
Left click WAMP in your system tray, go to MySQL > MySQL console.
Type the following: SET PASSWORD = PASSWORD('new_password');
For no password: SET PASSWORD = PASSWORD('');
more information here
https://dev.mysql.com/doc/refman/5.6/en/alter-user.html
I installed IIS7, MySQL 5.5 and PHP 5.3 on my desktop running Windows 7 Ult 64-bit to develop a website and in order to test *.php webpages locally without having to upload them to my web host.
Everything has been running fine for several months until recently. When I try to log into MySQL database using phpmyadmin the webpage just clears the username and password and stays at the log in page. Even when I enter an incorrect username and password it doesn't say the log in credentials are wrong, it just stays at the log in page. Not even my root username and password will work.
I tried doing a manual password reset as explained on other forums but that didn't get me passed the log in page.
My database is only a test database so I even went as far as uninstalling and reinstalling MySQL. This installed the newer version of MySQL 5.6. That didn't work.
I tried different versions of phpmyadmin from 5.2 thru the newest version 5.7. I changed PHP in IIS7 to PHP 5.4 but that didn't get my log in to work either.
All webpages in *.php open fine on the localhost machine. I can view them fine. I run home server and when I access the website from a remote computer I can navigate the entire website. When I go to http://[remotecomputername]/phpmyadmin and try to log in it just goes to a blank page and doesn't show me the phpmyadmin gui.
Not sure why the log in on the localhost stop working but any help to resolve this would be appreciated.
go to control panel > administrative tool> service >
then you will find a list of item , navigate to MYSQL
right click on it > properties > in general tab > start type ( make it automatic )
then apply / save
and finally restart all services in wamp
I would like to know about the Wamp server #1045 error on my machine. few days back i had installed my Wamp server and it was working fine like loading PhpMyAdmin, creation of database, localhost etc. i even performed some basic practices in Php.
Later on i learnt to change the password of MySQL via MySQL CMD and i performed the same. After that when i tried to load the PhpMyAdmin again, it showed me error #1045 access denied.
I tried to perform many thing but no respite from the pains. I tried to perform some fixes in phpmyadmin/config.inc, some setting in ctrl panl- Admin tools-Services-mySql (Start and stop)..
May i know what has happened to this and how to solve this problem. Thanks for help in advance.
You are basically giving yourself the answer inside your question.
You changed the mysql password. With which you most probably mean that you changed the mysql root user password. Since phpmyadmin is a mysql GUI (graphic user interface) it is only understandable that phpmyadmin can not function anymore because you haven't told it the new password you set. Just login to phpmyadmin by using 'root' as user and the new password you set. Works?