Look in apaches error.log
in terminal
nano /var/log/apache2/error.log
or use the gnome-system-log. Alt+F2 then enter gnome-system-log
Type: Posts; User: s_ø; Keyword(s):
Look in apaches error.log
in terminal
nano /var/log/apache2/error.log
or use the gnome-system-log. Alt+F2 then enter gnome-system-log
Take a look at /etc/mysql/debian.cnf there should be a line with the password.
Check if the password matches the one in the mysql db.
mysql> SELECT user FROM user WHERE password =...
Cant see the link you posted. But the apache documentation is a good reference http://httpd.apache.org/docs/2.2/howto/auth.html
When you have access to the server you dont need to use .htaccess...
Look at this post http://ubuntuforums.org/showpost.php?p=9059120&postcount=6
Its about how to share the mysql db files between win/ubuntu, but the principles are the same.
If you have any questions...
That was kind of a headless post by me.
You should log into mysql as root and verify that the user debian-sys-maint exists, and have privileges to administrate the database. The default is all...
You have probably lost the debian-sys-maint user. This is the user your system uses to start/stop mysql. The password for debian-sys-maint is in /etc/mysql/debian.cnf
If you just open the php file directly it will not be parsed.
You need to open it in http://localhost/phptest.php
If its not working check the config files.
nano...
Try to use this command to find the php module.
locate libphp
There will probably be 2.
Now open php.load
sudo nano /etc/apache2/mods-available/php5.load
Edit to point to the new module you...
If your computer can run 64 bit, download that.
Do you know what processor you have?
No you cant login? or No you cant make the command work?
If you cant login you will need to boot from a livecd/usb.
There is a LAMP (Apache, MySQL, PHP) package available as a task in ubuntu. To install use tasksel.
sudo tasksel install lamp-server
If you only need apache without MySQL/PHP you can install...
Good thing its working. If you got your problem solved, can you please mark the thread solved.
You should also check out the Ubuntu Serverguide There is a lot of good info on getting things up and...
In phpmyadmin there is a privileges tab.
From there you can set and change privileges.
Yes enlarge it all the way, unless you need some for another primary partition (for windows or another os). Swap space can be inside the extended partition.
To move partitions you need somewhere...
well in that case start reading ;)
man x
to search the man pages use forward slash '/' followed by search term.
/XKB
Why do you use the root account?
Ubuntu is setup to use sudo https://help.ubuntu.com/community/RootSudo
Can you login as a non-root user?
Can you login to your system?
Then open a terminal - (press Alt + F2 type gnome-terminal)
This command will list the ownership and permissions of the .ICEauthority file
ls -l ~/.ICEauthority...
There is always a risk of something going wrong when you edit partitions. A common one is to delete the wrong partition...
You should backup your data,if you cant backup everything, backup the most...
try to go to http://localhost/my-index.html
I really think you should read the links i gave you about file permissions and sudo.
sudo gives you root privileges for a specific task, such as starting...
If you look in your apache2.conf file you will see that it includes various files
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include...
What command do you use when you get that error?
You can use the following command to get all mysql entries in the syslog
grep -i 'mysql' /var/log/syslog
Check that /var/run/mysqld/mysqld.sock...
Great. MySQL should bind to localhost / 127.0.0.1. You dont need remote access to use it.
Could you please mark the thread as solved.
Edit:
Try using
sudo chown mysql:mysql /var/lib/mysql -R
-
It looks like you dont have a mysql user.
You can run this command to check if the mysql user exists. It will print any matches it...
To start with check the hosts file to see if there is any conflicts
sudo nano /etc/hosts
Are there more than one localhost in there?
As I understand the three SCRIPT ENGINE errors the port is...
open a terminal and use chown. (the -R is for recursive
sudo chown mysql\: /var/lib/mysql -R
And im pretty sure they need to change permissions as well.
sudo chmod 700 /var/lib/mysql -R