Software :: Make Database Connection In Drupal Installtion?
May 21, 2010
First i get drupal package :-
"sudo wget http://ftp.drupal.org/files/projects....tar.gz"
this will download the Drupal file into current directory.
> unpack the files issue the command
"tar -zxvf drupal-6.13.tar.gz"
this will extract the files into a folder in home directory > make a directory in the web root folder to keep the Drupal files in. To do this type in
"sudo mkdir /var/www/drupal"
> move the Drupal content over to the web folder. Type in
"sudo mv drupal-6.13/* drupal-6.13/.htaccess /var/www/drupal"
> set up folders for media associated with the site to do this issue "sudo mkdir /var/www/drupal/sites/default/files"
[Code]...
View 2 Replies
ADVERTISEMENT
Jul 9, 2009
I have two VMs, one as a web server and one as a database server. Both are RHEL5.2 Web server httpd-2.2.3-22.el5_3.1 php-5.1.6-23.2.el5_3 Database server mysql-5.0.22-2.1
On the web server, I can connect to the database just fine with a user I created with all privileges on *.*
Both phpMyAdmin and Drupal, though, tell me they cannot connect to the database. phpMyAdmin says :#2003 - The server is not responding..Drupal says:Failed to connect to your MySQL database server. MySQL reports the following message: Can't connect to MySQL server on '172.16.1.1' (13).However, I can also connect to the database with a simple little PHP test script.What do I need to do to get these apps to see the database that is up, running, available, reachable, in existence, etc. etc???
View 3 Replies
View Related
Jan 24, 2010
I'm interested in using pam_mysql or pam_ldap for authentication with my vsftpd server on CentOS. Does anyone know if, when pam_mysql connects to a remote database, whether or not the connection is, or can be, encrypted with SSL or some other means? While I know that passwords are hashed, I'd rather not have my usernames or my pam-related SQL queries travel in the clear.
If pam_mysql DOES communicate only in the clear, what about pam_ldap? I'm more familiar with LDAP than pam_mysql, and have always secured my conversations with LDAP servers when using an LDAP client or my own LDAP connection libraries.
View 3 Replies
View Related
Mar 4, 2011
What I need is a database that can show a Timeline and have the basic functions for searching by date and other criteria. Not in a hurry is for a future project. Any clues?
View 6 Replies
View Related
Dec 8, 2010
When connecting to a database in a php script, where would be the safest place to store the connect.php file. I am thinking it should not be in public_html, but is it safe in sub folders or is there a method people generally use to keep such files secure and inaccessible.
The file I mean is one including the database name, user and password etc.
View 2 Replies
View Related
Mar 2, 2010
I'm try to setup a database server using mysql, the server starts fine, and I can access it using the built in mysql client via console (adding databases and tables works fine), but the problem is... I always get a connection refused error whenever I access the database outside the built in mysql client (example, if I write a code that connects to mysql). So, I tried execute an nmap command and the only ports open are these ports:
[Code]....
there's no 3306 for mysql... I'm thinking that the firewall is just blocking the port that mysql is using, but my question is, how could the built in client connect to the server if there's no open port for mysql server? Don't clients usually access a servers through ports?
View 4 Replies
View Related
Feb 10, 2011
I am running an Ubuntu Server on a VirtualBox VM running on my windows machine. So I've created a self-signed certificate using the following tutorial: [URL]
From this tutorial I'm left with 3 files:
server.key
server.csr
server.crt
Then I found this very similar tutorial that has an extra bit on installing the certificates in apache: [URL] So I followed it's instructions which boil down to this:
[Code]...
So I'm thinking this should work now. However in Chrome I get: SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. IE8 gives me a typical "Internet Explorer cannot display the webpage" Note that [URL] fails while [URL] works fine, so it's definitely something in my ssl setup I'm thinking.
View 5 Replies
View Related
Oct 16, 2010
I have installed all the prerequisite(kernel-source, kernel-syms) and even the installation is successful.
Code:
I have tried with older version , yet same din't worked even for that.
I don't know what to do , since when i click on on Oracle VM Virtuabox , it runs in the taskbar but the GUI never returns back and closes itself after few seconds.
View 7 Replies
View Related
Jan 6, 2011
I need some information if my plan to restore Raid1 will work that way.Two Harddrives only for Data used with Raid 1 (sdb1 and sda1).
View 4 Replies
View Related
Aug 27, 2010
Recently I install KDE session on Ubuntu Lucid. Result, really weird and annoying. On the ubuntu desktop, for some reason some Compiz setting on enabled and there is no way yet of me disabling it. Such as which I'm really trying to disable, 'Place Windows'.
View 1 Replies
View Related
Aug 12, 2011
i have installed Ubuntu via using wubi and made the installation size 30gb. i realise that i only need 10gb how do i resize the ubuntu installtion size.
View 3 Replies
View Related
Feb 2, 2010
I can make a connection to the vpn server, the connection starts, but nothing happens! My IP address remains the same as previous! There is nothing added to my Knetworkmanager, I'm a beginner I should use a pcf file for my vpn connection. I use it properly, I'm sure because the connection starts and an icon is added to my panel and remains until I disconnect.
I checked it via ifconfig -a, the last part (which is for vpn) is:
Code:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:141.213.169.76 P-t-P:141.213.169.76 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1390 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
View 2 Replies
View Related
Jul 5, 2011
I would like to unzip a simple PHP code files, to have a online PHP contact / phone book. Simply, slow, and not database oriented over complicated setups into settings. I have a PHP / web provider (free), not apache. WITHOUT SQL (like before it may exists) something like this [URL]
View 14 Replies
View Related
Feb 8, 2010
How can I make shell script to use sqlplus to update some database table? This is what I'd like to make:
- login to db server (I have create ssh-keygen to bypass the login session)
- login sqlplus / as sysdba
- update status set status='END' where status='BEGIN';
- commit;
- quit;
I'm using oracle 10g database and SLES 9.0
View 3 Replies
View Related
Jan 3, 2010
I downloaded the ubuntu server (command line only) iso and set up a server on a spare computer. The only partition is ubuntu. LAMP server installed, and runs. Its plugged into my home network and the router assigns it a DMZ. I use ptty and that allows me to connect the server from my Windows PC. I installed samba and that works, I set up the server as Z: to my windows PC, and I can now use Filezilla FTP to move gigs of files over from my windows PC to the ubuntu server. I have to log in to activate the connection to Z: but it works.
Problem is getting a database connection from my windows PC (client) to my ubuntu server. Server is running a MySQL server and an Apache Derby server but both give connection:refused every time I try to connect with a java app, or with ij from my client. I tried MySQL Workbench, as that has a GUI, that doesnt connect to MySQL either. Every time I start my server I have to add lots of jar files to the CLASSPATH just to get the Derby server running. The Derby client connection on my client PC is also properly set up with PATH and CLASSPATH etc etc all configured and tested. But the server refuses every attempt to connect even though it tells you the Derby server is up and runnign as listening on port 1527!!!
What I want is a script or app that will "unlock" my server so I can actually do something with it instead of constantly trying new settings and packages in the vain hope it will then actually 'serve'. I am missing something here. There is nothing of value on this server that cannot be 'exposed' to the internet, so I'd be happy to turn off all the security just so the damn thing allowed connections...!
View 2 Replies
View Related
Jun 18, 2010
what i want to do is encrypt my entire home folder or at least make a new private folder where everything is encrypted. Previously i had tried to use truecrypt but it didnt work well on opensuse 11.2. Anyone here have issues with truecrypt with opensuse 11.2?
View 8 Replies
View Related
Mar 23, 2011
Linux printing appeared to be working fine up until yesterday. Today typing lpq gives the following: lpq Printer 'sdst@other.domain' - cannot open connection - Connection timed out Make sure LPD server is running on the server
The /etc/cups/printers.conf file is properly set, the printers appear in localhost:631 and they are printing test pages. However, all command line print commands seem to be trying to print to sdst@other.domain I don't know why printers.conf is being ignored and why and how sdst@other.domain was added. Seems like it might have been auto-discovered?
# dit: sdst@other.domain was mentioned in /usr/local/etc/lpd.conf I'm not sure why lpd.conf is being used instead of /etc/cups/printers.conf
View 1 Replies
View Related
Aug 15, 2010
I am now using SLES11. My web server now error mysql. However, when I restart mysql using "rcmysql restart" the message display:
Restarting service MySQL
Shutting down service MySQL done
Starting service MySQL done
but when I start to access via browser using my name virtual host (url) the message display "Error establishing a database connection"
when I go to mysql using command "mysql" the message display"
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
After that I try to edit file mysql.sock but on the bottom of file display message (permission denied)
View 6 Replies
View Related
May 4, 2011
I have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?
View 9 Replies
View Related
Apr 15, 2010
I'm having trouble with my database server run with PHP & MYSQL; i just installed this system on a SUSE Linux Enterprise Sever; the Server its self is an HP Proliant ML370G with 4GB RAM
The system was fine for like 3 weeks until recently when it started slowing down. Apparently, eveything is normal when you are accessing the server, for example when you are browsing on the database web interface; but problem is when you start working in the database, when you try submitting into the database, its really slow on processing, i have to first restart the mysql;
Could it be RAM? or the SQL itself?
View 3 Replies
View Related
May 21, 2010
i want to install wine on rhel 5.plz send me wine installtion command.
View 1 Replies
View Related
Mar 7, 2011
am using zabbix open source solution for systems monitoring. I am facing a problem and discussed it on zabbix forum. my post was as "My zabbix server is behaving abnormally, approximately daily from 9 to 12, the server stop accumulating logs. I observed that the server report is RUNNING but it did not accumulate log values and also the machine have no extra load. Its shown in the graph image attached.t the following reply,"database performance?are you monitoring database IO and available database threads? "So any one have any idea that how can I do this as I am using MySQL as backend database on RHEL 3.
View 1 Replies
View Related
Feb 27, 2011
I have installed debian-6.0.0-i386-DVD on my vmware. I want to install php 5.2 on it. But whatever mirror i'm using in my source.list i'm not getting my php 5.2.17 installed. Is there a debian mirror that i can use in my source.list to install php 5.2.15? I do not want to install 5.3, because it's not working for drupal 6 yet. I'm new to linux. i'm using apg -get update to receive the update.
View 1 Replies
View Related
Jul 14, 2011
how I can install Drupal on my Ubuntu 10.10?
View 2 Replies
View Related
Feb 14, 2010
I have recently taken over administration of a mailserver and a drupal server, hopefully I can get answers here. Queston one: how do you allow .docx? I really despise M$ methods to increase sales.
View 1 Replies
View Related
Apr 17, 2010
Looking at Drupal and ISPconfig as web tools but slackware is not one of the supported distro according to queries. I have never used any but slackware so I am wondering if any Slackers are using these tools anyway or what alternatives for slackware are there?
View 4 Replies
View Related
Feb 10, 2010
Then is that I needed to install (not webmin) Drupal on Centos and
needed to know how and then how do management.
View 2 Replies
View Related
Feb 2, 2011
how to install Drupal in fedora?
View 1 Replies
View Related
Jun 8, 2010
Can anyone tell me all the steps of how to install drupal 6.0 and start using it ?
View 4 Replies
View Related
Mar 20, 2011
I extracted the Drupal package (6.20) to /var/www/html and followed the provided install.txt file, but whenever I try to navigate to the site it simply comes up with the PHP script as plain text (it does automatically redirect me to install.php) rather than executing it. PhpMyAdmin works fine, as does a simple PHP "hello world" page I made, so I assume PHP isn't the problem. Now my question is: what could be causing this?
I can't tell for sure if the problem's with Drupal itself (I started over once with no luck) or some setting on my system, but since I don't have an account there I figured I'd ask here first.Running F14 x64, Apache, PHP and MySQL are all at latest versions available.
View 1 Replies
View Related