I recently downloaded XAMPP for macOS and I was able to use phpMyAdmin until I changed the root password. Now when I try accessing it I get an error reading "Access denied for user 'root'#'localhost' (using password: NO)" and on top of that I have forgotten the new password. I have read many other posts on this issue but none have seemed to work. Any suggestions?
This is for XAMPP on macOS only
You can go phpmyadmin directory inside the main root directory, you can check config.sample.inc.php file and you need to create a new config.inc.php file if already not their.
Copy data from config.sample.inc.php to config.inc.php
You need to make a few changes in the new file:
$cfg ['Servers'] [$i] ['AllowNoPassword'] = false;
Save and restart xampp and check.
Related
I'm doing an inventory management project in Java using XAMPP and JDBC. After downloading XAMPP and changing the user's password on localhost, I cannot log back in to phpmyadmin. I try configuring the config.inc.php file but cannot log back in to phpmyadmin. I need help.
I'm using Mac and XAMPP 8.2.0
I am installing laravel on server via putty. I linked public with public_html. Files were located inside laravel folder above public_html. After installation its showing "Internal Server Error"
The server encountered an internal error or misconfiguration and was unable to complete your request.
Usually when using cPanel it will usually require your index.php to have the permissions 644 otherwise you'll get a 500 error.
You can change this in cPanel by doing the following:
Login to your cPanel (if not already there)
Click File Manager.
Click the name of the file for which you would like to change the
permissions.
Select the Change Permissions link at the top right of the page.
Select the permissions you would like to set for the file
Owner - Read and write
Group - Read
World - Read
Click Change Permissions.
Alternatively, if you have ssh access you could run the following command on the server:
chmod 644 path/to/index.php
I am receiving a following error
Settings has not been loaded. Used default settings
Wrong config file size connect.cfg please save Settings again
in magento connect. I tried to delete files and did every possible thing, but the issue is not getting resolved. Please help me with possible solution guys. Also the extensions are not getting installed because of this and we are not able to solve problems.
We are using magento 1.9
Make sure that you click settings and click save as this flag will not clear until you do so. I was pulling my hair out with this as I chmod'd the files and chown'd the directory's but it was still showing the error. So once the file and folder permissions are set correctly go to the Magento Connect manager click the settings tab and click save settings then go back to extensions tab and the error will now be gone.
Tony Merlin
When you are in magento connect manager and you get this error
*
Settings has not been loaded. Used default settings
*
Click on magento conect manager Settings tab (top left) and select Use Custom Permissions --> YES and default should be 777 for folders and 666 for files. Deployment Type --> Local Filesystem and then hit SAVE SETTINGS.
The problem should be solved. At least that's how I solved mine when I got this error.
Be sure the /dowloader folder permissions are set to 777 and you can also chown the folder with the apache user. That worked for me. I have done:
chmod 777 -R /downloader/
chown www-data:www-data -R /downloader/
replace www-data with your apache user.
I've done this and worked perfectly for me.
It's a well known issue.
Check if the file named "connect.cfg" hasn't been modified (for
exemple: when I get this issue, the file has nothing into it, every
parameters have been removed and the size is 0kb)
Take a backup of this file and overwrite the existing
The issue should be solved know
For info about the access rights, I have :
2775 for the folder "downloader"
0664 for the file "connect.cfg
chown apache /var/www/ -hR will solve this problem.
I've started using the Apache web server that comes with OS X (10.9.4) for testing. When I copy files to its web root (/Library/WebServer/Documents) or delete from the same, I get prompted for the admin password. I have this password, so that's not a problem. It's just inefficient. I haven't had this issue when using other installs of Apache (generally via MAMP). So I'm sure it's just a config issue. Any help is appreciated.
This is done to protect the directory, you can add an ACL to allow your user account read/write access to that folder.
You can add the ACL as follows, Please be sure to change "yourshortname" to your username on the computer.
sudo chmod -R +a "yourshortname allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity" /Library/WebServer/Documents
Let me know if it works for you.
when I access my IP in some other computer it requires username and password , I want no such type of security I want direct access to my xampp, phpmyadmin directory in any computer in same network. I've attached some snapshots :
Delete the .htaccess file in the htdocs folder. May be that is making your directory password protected.