Server :: MySQL And PHP - Code For Building Site

May 18, 2010

I had created a database named details with the following table.

create table details_of_all_jobbers (
Sr_No int NOT NULL AUTO_INCREMENT,
First_Name varchar(50),
Middle_Name varchar(50),
Sur_Name varchar(50),
Mobile_Number varchar(50),
Date_of_Birth varchar(50),
Address varchar(100),
City varchar(50),
Pincode varchar(50),
Status varchar(50),
PRIMARY KEY (Sr_no));

I want the insert page, view page, update page, delete page which is coded in php so I request you to give me the code for building the site for me.

View 1 Replies


ADVERTISEMENT

Software :: Looking For Open Source Solution To Web Site Building

Mar 10, 2010

I've become reliant on Net Objects Fusion for building and maintaining my web site. NOF is still only offered as a windows app and it is the only reason I have to keep Windows installed.Can anyone propose a comparable application (preferably open source) that will run in Linux?

View 4 Replies View Related

CentOS 5 :: Building Home NAS, Remote NAS For Local And Off-site Backups

Nov 11, 2009

I would like to replace my aging Freenas box with a CentOS based NAS. I would like it to have the following features:

- SAMBA with Web admin
- BIND with Web admin
- Nice to have would be native AFP support for my MAC

Question 1: Is SWAT still the current Web-based config tool for SAMBA or is there something newer?

Question 2: Is there a decent, reliable, web front end for BIND?

Question 3: Is there a current AFP guide for CentOS, everything I am finding via Google is years old.

I would also like to build a second server that I would host off-site to sync my data to.

- I was thinking OpenVPN for the link between the servers. The "remote" NAS will have to be the one initiating the connection.

Question 4: Is OpenVPN the way to go or is there something better? (I need bidirectional communications)

Question 5: Is rsync still the way to go for the data sync or is there something newer which would be lighter and/or faster?

Just need some "current" advice overall - I think the last SAMBA box I built was 4-5 years ago so what I learned then may not be applicable today.

View 10 Replies View Related

Ubuntu :: Php Code Not Processed On New Site?

Jan 7, 2011

I just got my new vps up and running. I now have one site hosted on the server using drupal. Apache,php, mysql are all set up and working fine. I tried to setup a second site and created another virtual host for it. All permissions are set the same, the two virtual hosts have all the same settings but the new site does not process my php. When I browse to the new site I get a blank page. By viewing the source I can see that the php code is coming in but it is not being processed.

Don't know enough to know what else to check.

View 2 Replies View Related

CentOS 5 :: Fix For Building MySQL From Source RPM

Jul 10, 2009

I've met several issues recently while building the MySQL server from CentOS 5 SRPM. The root problem are the expired SSL certificates used for built-in tests making all the tests fail. The problem is widely described on the net and I am in doubt now what to do: should I submit a patch or what?

View 1 Replies View Related

Debian :: Recompiling Changed Code When Building Kernel Debs

Jan 15, 2016

How do I force recompilation of the kernel .deb packages. After a small change I make to the sources without having to clean the sources and recompile the whole kernel again?

Code: Select all$ fakeroot make -f debian/rules.gen setup_i386_none_686
$ fakeroot make -f debian/rules.gen binary-arch_i386_none_686 binary-indep

Calling the second command again does not recompile the modified code, just recreates the .deb packages.

If I use:

Code: Select all$ make -f debian/rules clean before the build command, then it will recompile everything which takes ages.

How can I force recompilation of the files/objects I changed (and dependencies)?

I use this guide: [URL] .... ('Building only a single kernel variant' section)

View 2 Replies View Related

Debian Hardware :: Building RTL8187 Driver Fails - Error 2 Code

May 17, 2010

I am fairly new to Linux and have been striking hassles with my AWUS036H (RTL8187) under Debian Lenny. The standard (built in) driver works but reception is pathetic compared to the same card under Backtrack 4 or even Windows 7. I have tried to build drivers which I got from the Alfa website, the Realtek website and also the Linux Wireless project page. All of them fail during Make with an Error 2. I don't have the error in front of me (had to go back to Windows for the moment) but it is identical to the one this guy gets:

darkReaction:/home/georanson# cd /home/georanson/Desktop/Downloads/ndiswrapper-1.52
darkReaction:/home/georanson/Desktop/Downloads/ndiswrapper-1.52# make
make -C driver
make[1]: Entering directory '/home/georanson/Desktop/Downloads/ndiswrapper-1.52/driver'
Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.18-6-686/build, is it configured?. Stop.
make[1]: Leaving directory '/home/georanson/Desktop/Downloads/ndiswrapper-1.52/driver'
make: *** [all] Error 2

I get the error 2 code and the reference to "kernel version".

View 5 Replies View Related

OpenSUSE :: Couldn't Find A Code::Blocks Download For 64 Bit On Their Site?

Feb 21, 2011

I couldn't find a Code::Blocks download for openSUSE 64 bit on their site, does it exist or should I just go with another C++ compiler?

View 5 Replies View Related

OpenSUSE Network :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/mysql/mysql.sock

Jun 7, 2011

I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:

Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory

[Code]...

View 6 Replies View Related

General :: Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (2)

Jun 2, 2010

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.

View 9 Replies View Related

Ubuntu Servers :: Access Web Site When Site's Domain Name / User's Local Server's Domain Name Are Same

Feb 18, 2010

In the office there is a local network with samba+openldap PDC. The local domain name is company.net. The company desided to create a corporate Website on a remote hosting and desided that the site's domain should be company.net which is same as local network's domain name. So now it is not possible to reach that corporate website from within the company's local network because, as I guess, bind9 which is installed on above menioned PDC looks for company.net on a local webserver. Is there a possibility to let people from this local network browse the remote site?

View 1 Replies View Related

Ubuntu Multimedia :: On-site Code Generator Download That Generates Color-customizable FLV / SWF Shockwave Flash Players?

Apr 6, 2011

So, if i want to embed a video stream on my site and use the one that the company provides, it has ugly colors that clash with my website.And, if i do Internet searches for a customizable one that allows color changes, the results i get are to download windows programs.Can you direct me to on on-site code generator or a linux download that generates color-customizable FLV/SWF shockwave flash Players? So that i may use my own Embed GUI with the proper color that matches my website. I cannot seem to find one on my own.

View 3 Replies View Related

General :: Installing Mysql On Vps From Source Code?

Mar 3, 2011

I just tried installing mysql on my vps from source code. after untaring the source code. when i tried to configure the ./configure script. iwas not able to find it. it is not there.

View 1 Replies View Related

Programming :: MySQL Syntax And Code Errors

Feb 10, 2010

I am reading Sams Teach Yourself SQL in one hour a day. In this book they work with both Oracle and MySQL to teach you SQL. So I installed mysql on my box and I am creating the empty database they use in this book so I can follow along as I read. I have noticed a few typos in the book and now I have noticed some code errors too. I just don't know enough to fix em. I am working on creating the empty database and I am getting syntax errors when I create certain tables. I have checked both the printed version of the book and the electronic version (which differ slightly) and both give me the same synatax errors. First is Creating the first table of the database. Here is the code given to me to enter. The Electronic version

[code]...

how I can correct this error and create these tables?

View 5 Replies View Related

General :: Error In Building "c" Code Using Gcc 2.95.2?

Apr 18, 2011

Trying to build C source code using Gcc 2.95.2 and Solaris make for the x86 platform. Got the a following error

/usr/local/bin/gcc -c -D_KERNEL -DSUNDDI -I. -Wall -Wstrict-prototypes
-Wmissing-prototypes hdrcpci2_mini.c
In file included from /usr/include/sys/varargs.h:50,
from /usr/include/sys/systm.h:58,

[Code]....

Is this a gcc compiler problem or due to some missing macros?

View 2 Replies View Related

Ubuntu Networking :: Broadcom On 2.6.34 - Reinstall Error Code: Reading Package Lists ... Done Building Dependency Tree Reading State Information

May 20, 2010

i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...

[Code].....

View 9 Replies View Related

Programming :: Add Some Compiler Flags In Code Blocks / IDE For Mysql Headers And APIs?

Jul 9, 2011

I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is : Quote: undefined reference to

to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem: Quote: gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`

I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.

View 3 Replies View Related

Programming :: Add Some Compiler Flags In Code Blocks IDE For Mysql Headers And APIs?

Jul 10, 2011

I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is :

Quote:

undefined reference to

to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem:

Quote:

gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`

I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.

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

Software :: Connecting To Mysql Database - Can't Connect To Local MySQL Server Through Socket

Aug 25, 2010

I'm having problems connecting to the mysql database on my system. I first noticed this when I was trying to set up the program anymeal. I subsequently tried using MySQL Administrator (mysql-admin), but had no luck. It gives my the following feedback:

Code:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Click the 'Ping' button to see if there is a networking problem. I press the ping button, and it seems to connect.

Code:

View 4 Replies View Related

Fedora :: MYSQL Error 2002 (HY000): Can't Connect To Local MySQL Server Through Socket?

Feb 22, 2011

I've been attempting to set up a LAMP for local web development, which meant installing mysql-server. But now have a problem when trying to run mysql, I get:-

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

When trying to downgrade mysql-server I saw that there are dependency problems between the various modules (but can't recall which). But whichever route I truied the results are always the same.

Thought about trying XAMPP but I note that even has it's problems, is there any way I can get a lamp set up on FC14, or must I give it up as a bad job.

Howver, just been trying to again to fix the problems with downgrading mysql and get:-

Error: Package: mysql-server-5.1.55-1.fc14.i686 (@updates)
Requires: mysql(x86-32) = 5.1.55-1.fc14
Removing: mysql-5.1.55-1.fc14.i686 (@updates)
mysql(x86-32) = 5.1.55-1.fc14

View 7 Replies View Related

Server :: Mysql 'Table 'mysql.user' Doesn't Exist'?

Aug 2, 2010

I'm trying to setup wordpress on my server, which of course I need mysql for. I setup a database the other day, which worked perfectly, but I had to start again as I put some information in wrong. Now, I can create a database fine, but when I run

Code:
GRANT ALL ON wordpress.* TO wordpress@localhost IDENTIFIED BY "password";
I get the output:

[code]...

View 13 Replies View Related

CentOS 5 :: Error: Mysql Conflicts With Mysql-server-community

Jun 4, 2009

I have MySQL 5.1.34 and PHP 5.1.6 installed on my system, how do I install php-mysql? Each time I try, it says

mysql-5.0.45-7.el5.i386 from base has depsolving problems
-- > mysql conflicts with mysql-server-community
error: mysql conflicts with mysql-server-community

View 16 Replies View Related

Ubuntu :: Reinstalling MySQL Server - Still Have My Databases At /lib/var/mysql

Jun 18, 2010

I was having issues with MySQL Server and uninstalled it. I still have my databases at /lib/var/mysql.

My question: if I install MySQL Server (same version, 5.1) again, will it delete my databases, or will they still work?

View 1 Replies View Related

Ubuntu :: Remove Everything Related To Mysql / Mysql-server?

May 23, 2011

How can I really, really remove everything related to mysql / mysql-server. I read and tried all kinds of things, but on every reinstall there is still old mysql stuff there, for example an existing password. Even resetting the password does not help.

Reason of removal: it looks like the mysql setup is really corrupt, so I want to remove, and then do a fresh install. Running Ubuntu 11.04 64-bit

sander@R540:~$ sudo apt-get purge mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not installed,

[Code]....

View 4 Replies View Related

Server :: Recover MySQL Innodb From /var/lib/mysql/ Backup?

Jan 30, 2011

I installed mediawiki the other day and went with the default innodb option. However a week later something went wrong. And since I have scripts that nightly backup /var/ I just copied the backup of /var/lib/mysql/wikidb/ (as I've done with MyISAM). Then when I connect the wikidb database. I can see the tables (via "show tables"), but when I do any query with them (check table X, select * from X) I get:

Code:

Table 'wikidb.X' doesn't exist I've since read that can can't just copy the database directory like MyISAM, and there appears to be no way that I can find to restore or fix Innodb, without a dump of the data. And I never got a chance to do a mysqldump of the data. So has anybody got any idea how I can at least view the "page" table from the files I've backed up in /var/lib/mysql/wikidb/ ?

View 1 Replies View Related

CentOS 5 Server :: MySQL On Cent OS 5.2, Error In MySQL

Mar 3, 2009

I just configured a complete Cent OS 5.2 system for use as a web server. I can configure Apache and PHP but MySQl seems to be causing some issues -

[mysqld]
datadir=/var/lib/mysql
socket = /var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).

[Code]...

View 16 Replies View Related

CentOS 5 Server :: MySQL Setup Without 'mysql.server'

Jul 14, 2010

I am using CentOS5 and installed the MySQL for server during the installation. I can set up and use MySQL databases. But I cannot make it startup everytime the server restarts. And quite a lot of methods need this folder "support-files/mysql.server", while my set up cannot find this. I am wondering if my installation of the MySQL for server is complete or not.

View 4 Replies View Related

Programming :: Link The MySQL Libraries To Some C Code - /home/zgp/gammasqla/list.c:1883: Undefined Reference To `db_do_query'

Sep 6, 2010

I'm trying to link the MySQL libraries to some C code, the LambdaMOO server to be exact. I'm getting the following error:

gcc -g -O -L/usr/lib/mysql -lmysqld -I/usr/include/mysql ast.o code_gen.o db_lo
ad.o db_flush.o db_objects.o db_properties.o db_verbs.o decompile.o disassemble.
o eval_env.o eval_vm.o exceptions.o execute.o extensions.o functions.o keywords.

[code].....

You can see the link commands I'm using, and the lib and include path are both valid. I tried replacing -lmysqld with -lmysqlclient but this did not help. I'm using Debian and MySQL, libmysqld-dev and libmysqlclient-dev are all installed.

View 1 Replies View Related

Server :: How To Get Any Mail Generated From Apache Site On Centos Server

Jul 22, 2011

I am running a CentOS 5.6 Server with a website and Forum. The website has a contact form and users can email various people in the organization. I have setup sendmail to send any mails like this to my email address on a Windows machine.The problem is that there emails don't have a header which has the senders original email header. It comes from localhost on my sendmail. How can I get any mail generated from the apache site to ALSO send mail to root on the Centos Server? That way I should be able to see the header and report the spammer or block them.

View 2 Replies View Related







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