General :: Locate The Path For MySQL Installed Through LAMP?
Feb 23, 2011I am trying to locate the path for MySQL installed trough LAMP. if someone could point it for me or how to locate this path.
View 1 RepliesI am trying to locate the path for MySQL installed trough LAMP. if someone could point it for me or how to locate this path.
View 1 Repliesit seems i have successfully installed LAMP.. i have a very basic page below that works when invoking "data()" but when i try to connect to mysql server (by removing the comments "//") it would just return a blank page.
[Code]...
i am trying to set up LAMP on an old pc i have installed linux, apache, mySQL and PHP following this guide Installing Apache2 With PHP5 And MySQL Support On OpenSUSE 11.3 (LAMP) | HowtoForge - Linux Howtos and Tutorials. i have installed phpMyAdmin but when i try and acess it i get this error
Error
MySQL said:
Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
[Code]...
I own a web server (centos 64bit with cpanel on it) and my datacenter add me a second hard disk and i want first to locate from ssh where is it (the path) and then to copy my mysql folder /var/lib/mysql to the new disk and have it like this /new/mysql on the second disk.
View 8 Replies View RelatedGood tutorial, using images for a lamp server that has, MySQL,PHP, Apache, FTP with all the fruit for running a server that will host a Gallery, forum and main site
I know there's heaps around for Ubuntu 9.10, but its not quiet what I'm looking for as in Gd, ImageMagick and some extras for Apache mods
get phpMyAdmin work on LAMP installed on OpenSuse 10.1 !!
running: "rpm -q" command result:
apache2-2.2.0-21.7
php5-5.1.2-29.25.3
MySQL5.0.18
phpMyAdmin-2.9.1.1-2.3
webmin-1.360-1
My problem is when trying to connect to: "hxxp://www.m-y-d-o-m-a-i-n.com/phpMyAdmin" I reported Error 404: PHP Code: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404
[Code].....
I installed acroread on my 64-bit Fedora 11 and when I try to run it, I receice the message,
Quote:
HTML Code:
Quote:
I was wondering if anyone could be kind to me in providing exact variable to be set for ldpa server installtion.
I am currently installing ldap in linux Red Hat Enterprise Linux AS release 4 (Nahant Update 6) and i get teh following error mesage.
I tried settng exact variable by reffering to ~/doc/install/configure but in vain.
I installed LaMp 2 days ago. First everything works; But until yesterday, I can't start anymore mysql server : it failed each time.
When I look at the status :
Code: Select allsystemctl status mysql
Failed to get D-Bus connection: Erreur inconnue -1
It's like it can't generate mysqld.sock
Code: Select all/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
I keep reading man and trying to find something I didn't configure correctly, but I can't find nothing.
im in the process of installing LAMP. im presently installing mysql and that's where i got into trouble...
im following the this tutorial [URL]
i tried the following :
Step 3. This is where things may start to get tricky. Begin by typing the following into Terminal:
mysql -u root
and i got this output:
root@konlah-laptop:/home/konlah# mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
obviously my question is why can't i connect to local mysql?
I installed "jdk1.6.0.bin" and "jre1.6.0.bin" successfully. But I don't know where they are installed. I can't find anywhere. What is the default path they are installed.I want to set JAVA_HOME.
View 1 Replies View RelatedI have bash. I installed Qt libs and want to set environmental variable PATH, I tried some stuff from qt tutorials..
Here is what i tried:
Code:
and it does nothing so i tried
Code:
then checked path
Code:
Now there are two issues
1) the make gives error that header not found( probably make don't have the path)
2) when i closed the terminal and opened it again the PATH I newly entered was not there !
Trying to take a UK formatted date (30/12/2010) and insert it into Mysql (2010-12-30) is just not going to plan. I have a feeling I'm getting close, however it's just not working out.
Code:
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
$unformatted_date = $_POST['date'];
$formatted_date = substr($unformatted_date,6,4) . "-" . substr($unformatted_date,3,2) . "-" . substr($unformatted_date,0,2);
[Code]....
Is there a command to know " From where a specific RPM package was downloaded & installed ( The full HTTP/FTP path ) " ? For example, if I had previously installed Firefox from here [URL] is there a specific rpm query, or any other place, from where I can get the full ftp path back.
View 1 Replies View RelatedI need to create a sandbox environment on my LAMP server for PHP/MySql development. Anyone who could point me in the right direction or share their insight?
View 1 Replies View RelatedI am a newbie to CentOS and I am trying to build a webserver for development of my website. I installed CentOS 5.5 with server gui and server and knome settings but cant get the LAMP installed right?
View 3 Replies View RelatedI started over combining the first parts of this guide: [URL]..ubuntu8.04 (Only the first few parts in terms of configuration and naming). Then I used this guide: [URL]..Surprisingly enough all steps worked.
1. Now I need to set up LAMP servers with MySQL master/slave replication and Apache rsync.
2. Next i need to add BIND to both my Load Balancers with master/slave backup and replication...
Are there any guides to look at to follow on these? Can tou point me to the right direction for BIND with replication.
I switched to Linux recently to start learning PHP and MySQL, and used this video on ..... to learn how to install all the desired packages and stuff[URL]... Everything got installed correctly up until 6:48, at the time I didn't know that you need to press space bar to get the star in the box to select the desired configuration, thusly causing myPhpAdmin not to be installed correctly and localhost/myphpadmin not showing up.
So after trying to reinstall it, and then removing all the packages and re installing, this specific set up for the db-config will not show up. Is there a way to completely remove all of these packages and start fresh?
I also tried installing the LAMP server thing, but also myphpadmin fails to get installed properly.
Lamp stands for (linux apache mysql php).. I dont know how to installed it from terminal.
View 2 Replies View RelatedI have installed LAMP server in ubuntu 10.04 using sudo tasksel command @ my home and with all the port forwarding and stuff its working fine and i can access it via internet and images load fine, but when i installed LAMP using same exact same command @ my friends place and proper network configs, the php pages load but the images don't load. (Images which are very small in size like less then 5 kb is loading though, like small icons, smileys...)Tried clearing cache, different browsers, different image formats.
View 2 Replies View RelatedI have just installed joomla and proceeded to do the web install. Got the interface up and running and its now complaining it does not see the mysql server running. I do in fact have it running. Veryfied it with mysql command on command line and it complained with missing attributes.
I read a thread that it needs php-mysql installed. So went to proceed to install it. Well, I did not have that and went to install it. Verified it. Package mysql-server-5.0.77-3.el5.i386 already installed and latest version
I then did a service mysql reset.
Checked back at the joomla web install interface and still, it says there is no mysql support! What is next? Im running centos OS. Also, I am running LAMP
I just installed LAMP on ubuntu 10.04using this method:ow i want to change the directory where my websites are; default is "/var/www" right. I have a partition using NTSF file system where i have a folder with all my websites. Can i configure LAMP to use this folder?
View 9 Replies View RelatedWhen configure packages bundled with CentOS, I have difficulty locating the installed directories. Anyway to locate those? I first worked on MySQL and now Firefox. They are not at the standard locations (or the ones refered in the manuals).
View 6 Replies View RelatedI found the following function in /etc/profile file.
[Code]...
1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??
2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH
I'm trying to find out which partition grub2 is installed in. Is there a command for this, as I suspect that I may have told it to install to the wrong partition during the upgrade from Karmic to Lucid, and now, I suspect that I've crippled the boot sector for my vista installation
View 6 Replies View Relatedi was tring to create a php daemon using system_daemon class. As i am in Lampp environment i get the problem that , system_daemon is is connecting to default mysql which i have stopped before starting lampp. i would like to know , how i can change its socket path to /opt/lampp/var... ? where i can make this path change?
View 1 Replies View RelatedI did recently install aria2 and everything installed smoothly. but i am not able to locate it. I know it will be in the applications->internet but its not there.
View 7 Replies View RelatedI am trying to install the locate and the updatedb command as they were not intially installed during the desktop installation of linux. How do I do this
View 1 Replies View RelatedI want to ask how i set Linux class path for mail.jar and mysql-connector.jar. I have set the class path for java with the command.
Code:
when i do java -version it's work fine.
Also if i want to know that what shell i am using how can i find it.Also what is the command for showing class path variables or how can i see my JAVA_HOME class path.Means after setting the class path for above two files how can i see that these files have added.
When i write echo $CLASSPATH or echo $JAVA_HOME it shows nothing no error but again shows the prompt.
One thing more i want to run a java program on Linux it is in a package (named asteriskproject). It consist of 10 java files. I have run this program on windows using netbeans IDE.For this program i need to set my Linux class path for the above mentioned files, and this is my first time that i am running any program on Linux. So i want to ask how can i run my program. Simply put this asteriskproject directory in any folder and run the main file using javac. Is it right way to run the program that consist of package ?
i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.