Ubuntu :: Cannot Access Phpmyadmin Through Localhost
Jul 7, 2011
I've just reinstalled XAMPP in my machine. Now, I can't get phpmyadmin to work. Before this was okay. But since I lost its password I need to reinstall it again. Now I got it reinstalled, another problem occured. When I enter localhost/phpmyadmin in my browser, it tells me to open the file with a program which is obviously something must be wrong during the installation or the system is screwed. Here's the screenshot:
Another problem is I can't get Apache and MySQL to run using the XAMPP wizard. But by using shell I can get it worked, but when I see the wizard, it just says stopped. What's wrong? Although I have pressed Execute it still can't be run.
From terminal:
Code:
me@me-laptop:~$ sudo /opt/lampp/lampp start
[sudo] password for me:
Starting XAMPP for Linux 1.7.4...
XAMPP: Another web server daemon is already running.
XAMPP: Another MySQL daemon is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.
View 2 Replies
ADVERTISEMENT
Jul 3, 2011
i setup a localhost in my system. but am not getting access to the phpmyadmin by entering the user name and password i entered at the time of set up. the /etc/phpmyadmin/config-db.php file is shown below.
<?php
##
## database access settings in php format
## automatically generated from /etc/dbconfig-common/phpmyadmin.conf
## by /usr/sbin/dbconfig-generate-include
[code]....
when i access http://localhost/phpmyadmin/ , the login screen appears but entering the username and password as in the file gives the error #1405 cannot log into mysql server.
View 3 Replies
View Related
Jan 30, 2010
i have fedora 11 installed in my laptop and apache server by default. after starting httpd and mysqld services i was able to access localhost through browser.(e.g. [URL]). before installing phpMyAdmin everything goes right. after installing phpMyAdmin it created problem in localhost. now typing [URL] it opens joomla site but without images and without intending of content. when i type [URL] in browser it ask for user name and password. i already provide user name(root) and password(my_root_password) in /etc/phpMyAdmin/config.inc.php. but it doesnt open.
View 1 Replies
View Related
Mar 18, 2010
Have basic LAMP setup on 9.10 box. I want to have a publicly accessible website AND I want to have phpmyadmin available. The only thing is I would rather not have the phpmyadmin interface available on the internet. I usually open a ssh port forwarded tunnel when I need to use phpmyadmin on this server. I want to add a directive to make phpmyadmin bind only on localhost. I have found the phpmyadmin config file in /etc/apache2/conf.d
phpmyadmin.conf -> ../../phpmyadmin/apache.conf
I have tried adding some LISTEN directives, but apache does not like my directives-- I am obviously not doing it right. I have looked for a bit on the internet and can't find out how to disable external access to a configured site in Apache.
View 2 Replies
View Related
Feb 13, 2011
I am able to access phpmyadmin via my web browser using either my local ip followed by /phpmyadmin and by using the same layout with localhost. If i use my DNS name provided by no-ip which i bound to in apache2 i am able to get to the "It works!" page with the domain name but if i use /phpmyadmin after it, it will tell me that there is no such directory.
View 1 Replies
View Related
Jul 6, 2011
I'm setting up a home web server using LAMP that I want to use to access files and practice coding, but I am very new to Linux and web servers. I currently have it so I can access phpMyAdmin and the test pages locally through my internal IP, but whenever I try to access it through the external IP I get this router management console that I don't know the password or username to. I know my router login and password and it's not the same as that. I've forwarded port 80 and when that didn't work I tried changing /etc/apache2/ports.conf to 8080 and I forwarded that port on my router with no luck too.
It doesn't seem to matter if I have any ports forwarded, though, it still brings me to the same screen regardless. Also, I have set up a static IP on the server by modifying the /etc/network/interfaces file. I've attached a screenshot with the actual router management console screen. I won't have access to the server until later, but, if you require any output from the server I will be sure to post it as soon as I get home. I'm not using ubuntu for my webserver, but debian instead because ubuntu server had a whole bunch of problems with my PCMCIA network card. Ubuntu suggestions should work just fine, but I just thought I should clarify.
View 9 Replies
View Related
Oct 15, 2010
I installed ubuntuserver edition 10.10 on my old p3.Installation went fine and i installed LAMP and SSH along with it.*everyhting i do past this point is via LAN on my laptop using root account on putty or winSCP.*I installed phpmyadmin, loged in with root, duplicated the root acount and gave the duplicate any host (%) access. Next i created an account with access only to the users database (for use in my php to check username and password).Next thing i did was change the apache2 config 000-default to disable indexing.After that i changed the php.ini file to allow 6GB uploads (for movies).Rebooted... and thats where the problems start.I CANT:Acces phpmyadmin with any acount.Login on my website.I CAN:login to mysql using root.I HAVE:Checked if the mysql database and table for websitelogin still existed, they do.Checked mysql useracounts and they are still there.So something changed after the reboot, because it was working fine before i did.
View 9 Replies
View Related
Oct 27, 2010
I am trying to set up a server for a client and they want remote access to the phpmyadmin program on the server with a dyndns
I've spent the past 2 hours on google with sadly no luck
So how can i go about setting this up?
View 1 Replies
View Related
Jan 3, 2011
One server is a dedicated MySQL server. After upgrading that one to Ubuntu 10.04 (from an ancient Suse 9.2), both servers are running Ubuntu 10.04 LTS.I have another server that I use to administer the database server via phpMyAdmin. However since the upgrade it is not able to connect. I get an error #1130 Cannot log in to the MySQL server. The same happens if I try to connect remotely from the command line with: mysql -u root -h 129.79.137.121 -pI'm not sure if this is an iptables/ports problem or a configuration problem on the MySQL end or something else entirely.I've searched and tried the suggestions I've found in various places but none seems to have fixed it.
View 2 Replies
View Related
Jun 12, 2010
I have been trying to set up phpmyadmin for a while now, but I just cant seem to access it with the browser.
I yum installed phpmyadmin. In my /etc/httpd/conf.d/phpMyAdmin.conf I have:
When I visit [ip]/phpmyadmin I just get a 404
I've reloaded apache, checked the phpmyadmin config file, and everything seems fine, I just get constant 404.
View 2 Replies
View Related
Mar 16, 2010
I encountered a problem when I am trying to access my phpmyadmin the error came up: Wrong permissions on configuration file, should not be world writable!
View 6 Replies
View Related
May 27, 2010
I have a laptop with Apache, MySQL, PHP, etc, and I'm able to work on web programming on my local server while at home, connected to my network. But I would like to be able to work on the local websites when I'm not connected to any networks, both for demonstrating a site, or simply working on it.
I was surprised to find that I could not connect to localhost at all without a network connection. I tried my normal Google for a solution, but, of course, that was futile without a network.
Now, I'm at home, and of course, it works because I have wireless. I don't really want to disconnect that to figure it out, so I thought maybe some nice soul here might know how to do this. Surely it can't be hard, can it? But, it's certainly not obvious.
View 3 Replies
View Related
Aug 18, 2010
I recently installed Ubuntu (normal version) on to my netbook (Samsung N140) and I'm sharing my wireless connection over ethernet to my desktop using the method outlined in the Ubuntu wiki on ICS.
However, I do Ruby on Rails development, so run a local server on the netbook. I found out yesterday while working remotely that I cannot access 'localhost:3000' while I have no internet connection, and I get an error about 'sendmsg: operation not permitted' if I try to ping localhost. Likewise, I cannot access 127.0.0.1 the same way.
View 3 Replies
View Related
May 25, 2011
I am not able to access my system on 22 port:
$ telnet localhost 22
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
When I try to start sshd service it shows command not found:
# /etc/init.d/sshd start
Starting sshd:/bin/bash: sshd: command not found
[Code].....
View 14 Replies
View Related
Jun 29, 2011
While investigating my localhost access logs during an investigation to resolve locking myself out of my own server(!) I noticed this recent access attempt from a proxy referrer. I wouldn't expect this on a local server - currently set to listen on 127.0.01. The request was 403 forbidden, but surely the request should not have even reached this far? Is this an example of an unauthorised access attempt? I don't think it is me because all of my usual access requests are in moz 5 and im logged in to linux currently.
Note please do not click this link as I do not know where it leads ^^^^! (and i dont know how to disable it on this forum)
View 8 Replies
View Related
Sep 21, 2010
I need to test an application on a Ubuntu Server that works as a database server for the network.
On this server's /etc/mysql/my.cnf, I have:
Code:
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = <server-ip-address>
This means that I can't access the mysql server from 127.0.0.1, right?
I tried adding the following entry to /etc/hosts.allow :
Code:
mysqld : 127.0.0.1 : allow
I feel like I need to restart the service that reads /etc/hosts.allow, is this approach correct?
Or on /etc/mysql/my.cnf I can have two (or more) bind-addresses entries?
View 5 Replies
View Related
Jun 16, 2011
I already installed apache 2 & php 5 .. but I don't know where I create .php pages so I can access them using http://localhost
View 4 Replies
View Related
Jun 1, 2010
I'm running Fedora 12 on x86_64. I've installed squirrelmail, along with dovecot on my office server, and cannot access it through http://localhost/webmail. I have followed all the configuration steps I could find (including http://www.server-world.info/en/note...12&p=httpd&f=7).
I know that everything else is working (I can send and receive mail, access IMAP mailboxes, webserver is working), browsing to
http://localhost/webmail
just gives me
"Problem loading page"
in Firefox. Sometimes, however the message is "Unable to connect."
I will add that I already tried installing Squirrelmail on another (i686) machine and had exactly the same problem.
/var/log/httpd/error_log says:
File does not exist: /var/www/html/squirrelmail
This makes it seem like aliasing is not working somehow.
View 3 Replies
View Related
Dec 14, 2010
ubuntu terminal. I have installed mysql-server, but i have no access. I have set the password during installation process.
Used command:
mysql -u root -p
error message:
[code]....
View 3 Replies
View Related
Jun 13, 2010
Can't access localhost test page, but opens localhost page when I use full dns, at least from local network machines?
Running slackware13.1, Httpd2.2.15, 2wire gateway. Firewall web&http pinholes for ports 80,443. Port 80 is working.
Code:
Returns error:
Quote:
Code:
Code:
Added 4400host.net to Resolve DNS on 2Wire Gateway(Never had to do this before to access httpd test from same machine or network machine?
Changed HTTPD.conf
Code:
Code:
Quote:
"It Works!"
Never encountered this before, usually httpd test worked for "localhost" with minimal effort. I am concerned to procceed with this odd behavior. Has anyone else encountered this configuration is?
View 5 Replies
View Related
Jan 27, 2009
I followed this tutorial for setting up my server. Whatever I type into mysql or mysqladmin all I get back is Quote:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
View 1 Replies
View Related
Mar 14, 2011
I did something silly and changed my root user access for mysql access to Any from localhost using webmin. I get an access dented when i try to open up the mysql editing page on webmin. Can any of you tell me if there is a way to change it back to hosts=localhost I am using webmin 1.5.30 on Centos 5.5. I am hoping I can change it by command line or if I can access the config files and change it that way?
View 2 Replies
View Related
Dec 14, 2010
I have installed mysql-server, but i have no access. I have set the password during installation process.
Used command:
mysql -u root -p
error message:
[code]....
View 8 Replies
View Related
May 1, 2009
I did everything and restarted my machine, everything seems to be ok. But when i type in my IP on the browser which is 10.0.11.25 which would be the localhost machine, i get this below:
Code:
ERROR The requested URL could not be retrieved
While trying to retrieve the URL: [URL] The following error was encountered:
* Connection to 10.0.11.25 Failed
The system returned:
(113) No route to host
The remote host or network may be down. Please try the request again.
View 2 Replies
View Related
Jan 19, 2011
I've just upgraded my laptop to Fedora 14 and installed LAMP on it for a test environment. I've followed the official instructions to install but seem to have a problem that I didn't have on F13 or Opensuse. Each time I try to access index.php on localhost I get a permission denied message and an SElinux alert. I have tried 7 different solutions on various forums and just can't view anything in a browser.
/var/www/html has been set to chmod 777
/var/www/html/index.php has also been set to chmod 777
A standard user can definitely read and write to the above files/folder. Until I commented it out the Welcome/Test page was working perfectly.
View 5 Replies
View Related
Mar 13, 2010
I am pulling my hair out once again after trying for over 15 months off and on to get a tv tuner working under linux. I have just received my new tuner card which I thought was supposed to be easy to run, a HVR-950Q, no luck yet. But first I am trying to use something called mysql (new to me), for mythtv and [I] keep getting
# mysqladmin -u root password ma
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)
View 9 Replies
View Related
Nov 6, 2009
I can log in Mysql database successfully using
Code:
mysql -u myusername -p mypassword
Now, I need to execute GRANT PRIVILEGES. But, when I try to execute
Code:
mysqladmin -u myusername password mypassword
the below error occured
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'myusername'@'localhost' (using password: NO)'
View 4 Replies
View Related
Mar 26, 2010
I set up a servber on my local machine, & also PHp - Both working fine.I'm trying to load up MYSQL i have installed it, & *can* start/stop the server. however if I do anything else with it, I get this error :-
Quote:
root@gordon-desktop:~# sudo mysqladmin -u root -h localhost password MYPASSWORD
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Query :-
1) How do I know MYSQL is actually active ? (apart from the message it says that its statrted (or stopped).
2) Is there a way to
a) Find out the usernames that are recorded on the MYSQL server ?
b) set / RESET the 'root' username (I know MYSQL root user is different to PC root user)
c) anything else I can do on the PHP / website code to see if MYSQL is working
(as yet, no tables / databases etc have been set up - as I can't get past this error message - I get the same error when setting up a database.)
Ps I did allow my usermname (when logged in to ubuntu) to edit / create files in the /usr/www/ directory (but it is still OWNED by 'root' - that directory)
View 4 Replies
View Related
Feb 13, 2011
for some reason root lost grant privileges and I can't get it back. The user got grant_priv = 'Y' in the usertable. I've tried to reset all the priviliges to the user by killing MySQL process and started up again without grant options with no luck. I've also tried lots of other things but can't seem to get it work. Here is what I get: Quote:
[root@xxxxxxxxx mysqldba]# mysql -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 2
Server version: 5.0.77 Source distribution
[Code]...
View 7 Replies
View Related
Oct 25, 2010
Im using CentOs on a remote server. I've recently installed phpmyadmin but cant access from [URL] I checked the files and found only 3 folders in /var/lib/phpmyadmin -config / save / upload - all of them empty. Whenever I try intstall phpmyadmin again it just says its already installed and up to day.
View 2 Replies
View Related