Fedora Servers :: LAMP Installed But Can't $conn To Mysql

Nov 2, 2010

it 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]...

View 1 Replies


ADVERTISEMENT

General :: Locate The Path For MySQL Installed Through LAMP?

Feb 23, 2011

I 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 Replies View Related

OpenSUSE Network :: Setup LAMP On An Old Pc Installed Apache, MySQL?

Jan 16, 2011

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]...

View 1 Replies View Related

Ubuntu Servers :: LAMP - Insert UK Formatted Date Into MySQL

Sep 5, 2010

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]....

View 3 Replies View Related

Fedora Servers :: Php Not Seeing Mysql Module Installed ?

Mar 4, 2009

long time user of redhat, first time user of fedora...

Installed fedora 10 to the hard drive (building a new web server, switched from RHEL5)

Started to install everything I need, apache, php, mysql, odbc, iseries access for linux, etc...

Got to the php modules, installed php-odbc, php-mysql, etc... but php doesn't see the mysql module

doing a phpinfo() produces -without-mysql

uninstalled it, reinstalled it (this is all done through kpackagekit so far) - no good

uninstalled and tried to reinstall via yum, no good

all the config files are fine - copied my php.ini from the old server and let the installs create the new mysql ini files

how to get it in ? this is my last step before i can begin pen and vulnerability testing it.

View 1 Replies View Related

Ubuntu Servers :: LAMP Installed > Need To Change Website Directory?

Jun 13, 2010

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 Related

Fedora Servers :: Use Yum To Install LAMP With Ssl?

Sep 2, 2011

I want to use yum to install LAMP with ssl. Is there a certain order I have to do that in? If I understand this right, yum gets its rpms from one repository. In order to maintain the rpms I will need to know the installation layout of each rpm. How will I find this information?

Also, can I tell yum to go to a certain place and get that rpm? For instance, I've been reading linux topia. Can I tell yum to get that mysql rpm?

Once mysql is installed, how do I start it and get into the client/monitor?

View 3 Replies View Related

Fedora Servers :: LAMP Configuration - Strange PHP INI File

Nov 22, 2009

My installation went fine. Apache, PHP, and MYSQL all work independently. My trouble getting PHP to serve MySQL content. The first thing I did was look in the PHP.INI file to check that it was set up correctly. Then I discovered my install of PHP does not have the expected directives, namely extension_dir or any DLL comments where I can enable MYSQL. Instead my config file has a PHP.D directory. In that directory there are no files for MYSQL. I look at the PHP.net site and I can't find any info on how to write this file. And there's the issue of the missing extension_dir directive.

As I said, I visited the PHP.net site and could not find any specific manual pages explaining this change to PHP 5.2.11. I downloaded "the latest php.ini" development file from the site. As near as I can tell its for PHP 6.0.0 and it does have the extension_dir directive, and it still uses the DLLs in Dynamic Extensions section. (EDITED= The introduction of the PHP.INI file doesn't give a version number, however later under error handling there is a note: "as of PHP 6.0.0"). Why I can't find more information about this on any forum or at PHP.net?

View 14 Replies View Related

Fedora Servers :: LAMP Package Installation Fails / What To Do?

Mar 7, 2011

I have a desktop running on Fedora 14. I installed LAMP by using scripts for package installation. That works fine. Also, I have a virtual environment (Virtual Machine Manager), in which I installed Fedora 14 as well. I tried to install LAMP by the same scripts and the same packages as on my desktop, but strangely - it does not work.

I figured out that in both cases two instances of httpd.conf are installed, one residing in /etc/httpd/conf/, the other one in /usr/local/apache2/conf. The first one seems to belong to the server that is by default installed together with Fedora 14. The second one is the result from the package installation.

For a reason unknown to me, the second one (/etc/httpd/conf/httpd.conf) is always activated on my desktop, while the first one (/usr/local/apache2/conf/httpd.conf) is activated by default in my virtual computer. I have been able to change the DocumentRoot with succes.

I know how to install LAMP with yum, I have a second virtual computer with LAMP installed by yum, and the whole question is not an urgent one, but... I am just curious... what could have caused the difference? And what would I have to do whenever I would like to use the package installation or vice versa?

View 4 Replies View Related

Fedora Servers :: Anything Special To LAMP Server For AJAX To Work?

Apr 14, 2011

Do I need to do anything special to my LAMP server for AJAX to work?

View 2 Replies View Related

Debian :: MySQL Server Can't Start In Lamp

Jun 24, 2015

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.

View 1 Replies View Related

Ubuntu :: Installing LAMP -> Can't Connect To MySQl

Nov 10, 2010

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?

View 4 Replies View Related

General :: LAMP Server Setup - MySQL - PHP - Apache - FTP

Mar 16, 2010

Good 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

View 1 Replies View Related

Fedora :: Mysql Is Installed But Not Available?

Jul 18, 2010

Mysql is installed and I have checked it on three places to make sure it is. I tried to start the service or start mysql but no luck I can't find it anywhere and I cannot get it to run. It is also not under /etc/init.d

View 9 Replies View Related

Debian :: Create A Sandbox Environment On LAMP Server For PHP/MySql Development?

Mar 5, 2011

I 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 Related

CentOS 5 :: Cannot Get LAMP Installed Right?

Jan 6, 2011

I 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 Related

Server :: Setup LAMP With MySQL Master/slave Replication And Apache Rsync?

Aug 12, 2010

I 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.

View 1 Replies View Related

Ubuntu :: Getting LAMP Installed / Particularly PhpMyAdmin?

Jan 2, 2011

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.

View 1 Replies View Related

Software :: How To Installed Lamp In Ubuntu 9.10

Mar 18, 2010

Lamp stands for (linux apache mysql php).. I dont know how to installed it from terminal.

View 2 Replies View Related

Fedora Servers :: Mysql At Boot Time In 10 / Get Mysql To Start At Boot?

Jul 28, 2009

I am trying to get mysql to start at boot without any success.

The mysqld scripts works fine when run from the command line, but it does not work when i use the links created by chkconfig. I checked the boot.log and found that mysql starts but then it stops or gets shutdown. This is the log message:

Starting mysqld daemon with databases from /data/mysql [ OK ]
Starting cups: [ OK ]
STOPPING server from pid file /var/run/mysqld/mysqld.pid
starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyho
sts/denyhosts.cfg
090727 04:35:47 mysqld ended

The same init script works fine in Ubuntu.

View 2 Replies View Related

Ubuntu :: Images Not Loading In Browser / LAMP Installed In 10.04

Nov 19, 2010

I 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 Related

Ubuntu Servers :: Mysql Error Stopping MySQL Database Server Mysqld?

Jun 17, 2010

I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this

* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.

So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.

View 1 Replies View Related

Ubuntu Servers :: Mysql ERROR 1045 \ Trying To Allow Remote Access To Mysql?

Jan 14, 2011

i was trying to allow remote access to mysql by following mysql was running perfectly until i got here :

Code:
/sbin/iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp --destination-port 3306 -j ACCEPT
i changed my.cnf bind-address line to : "bind-address = 127.0.0.1" and nothing

[code]....

View 4 Replies View Related

Fedora Servers :: MySQL Acees Over LAN?

Oct 22, 2010

I've setup a fedora core 13 server and I am running mysql on it. I wanted to use MySQL Workbench on my Windows 7 computer on the same LAN to connect to the database. Currently I am unable to connect to the database except if I go through ssh. What ports do I need to open on my firewall? Is there any specific configuration that I need to do to my MySQL database to get it working?

View 3 Replies View Related

General :: Error 404 "PHP Code: Object Not Found' - Get PhpMyAdmin Work On LAMP Installed On OpenSuse 10.1?

Apr 24, 2009

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].....

View 1 Replies View Related

Fedora Servers :: Changing MySQL Datadir?

Aug 16, 2009

Has anyone been able to successfully change MySQL's default datadir in Fedora? I've tried on two machines now (F7 and F11), but run into the same problem on both. Here is what I did:

1. shutdown MySQL (service mysqld stop)
2. create new mysql directory (e.g. ~/mysql/) and set ownership to mysql:mysql
3. move tables from /var/lib/mysql to the new directory (I've tried moving only one user-created table, and also moving system tables with same result).
4. edit my.cnf and change "datadir" to point to new location
5. start MySQL (service mysqld start)

[Code]...

View 7 Replies View Related

Fedora Servers :: MYSQL MAX Connection Per User

Sep 28, 2009

I am running a mysql 5.0.41 community edition server.i have a user x and i need to set max connection limit for the user... Can any one give the correct syntax to update the current user to include max connection for the user x.

View 1 Replies View Related

Fedora Servers :: MySQL CPU Usage Spiking?

Oct 15, 2009

Having major problems with mysqld causing CPU usage to rocket to 100% on one core for a short time, which usually drops back down again to 1-7%, though sometimes it can last an extended period of time. This is a problem because things using mysql become unresponsive in this time.

[Code]...

View 4 Replies View Related

Fedora Servers :: Upload Something Via Http To MySQL?

Nov 18, 2009

I have a server (fedora 11 , LAMP). I want to know if I can upload something to my server via http (I mean from WAN),and this data stream can directly run into MySQL database . Do I need to write some special codes on my web page , or just change apache's configure file

View 7 Replies View Related

Fedora Servers :: Windows Xp Does Not Connect In MYSQL 5.1?

Dec 15, 2009

I installed Fedora 12 with package standard of the MYSQL, configured this the same twirling in such a way localhost as in one it schemes with windows VISTA, to put I have others 4 you scheme with windows XP that I do not obtain to have access in the MYSQL. What I have to make pra these you scheme with XP to have access?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved