Archive

Posts Tagged ‘Mysql’

How To Create A Mysql Database To Install A Php Script

March 30th, 2010

Many php scripts available for download require that a mysql database be created so that data can be stored for use with the script itself. This may seem like a daunting task for a beginner. But don’t worry, the only difficult part about it is not knowing what to do and that’s what we’re here to teach you.

It’s assumed that you already have a web host and access to hosting administration like cPanel, Plesk, etc. We’ll be using cPanel for the purposes of this lesson as it’s commonly installed on Linux servers. However, most major hosting control panels have the same basic principles which can be applied here.

Log In And Create The Database
The first step is to log into cPanel as the user for the domain that your script will be hosted with. This is accomplished by going to http://domain.com/cpanel and replacing domain.com with your domain name. You then enter your hosting username and password given to you by your hosting company.

Once you are logged in scroll down the page to Databases and click the MYSQL Database Wizard icon. This is where we create the actual database. Enter your database name in the “New Database:” field and click Next Step.

If you plan on having more than one database the name should be descriptive to help keep everything organized. For example, for a database used for ecommerce you might name it ecomm. CPanel will add a prefix of your main hosting username and password so your final database name may end up looking like this: username_ecomm.

Add A MYSQL User
Next, we need to add a user that can access and modify the database. Enter the username you wish to use for the database and create or generate a password with the Generate Password function. Be sure your password is a combination of letters, numbers, and symbols to make it as secure as possible. Your username will appear similar to the database name as the hosting username prefix will be added to it as well. For example, username_dbuser. Once these values are entered click Next Step to continue.

Give The User Privileges
Now we give the user privileges so that they may actually work with the database. Usually, you will select the All Privileges box and this is satisfactory for most script installations. If you don’t want the user to be able to modify the database but would still like them to be able to access the records you would select the Select box and so on. Click the Next Step button to finish.

Congratulations!
You’ve just created a database and a user that you can now use with your Php scripts. Many of these scripts have a config file that contains settings with default values for database name and users. You simply open this file with your favorite text editor, like notepad, and change the default values to what you just created. This enables them to install the tables needed to run the script itself.

Mike Doom writes articles for Reviews Website Builder

php , , , ,

Jquery Ajax Mysql quick tips

January 4th, 2010


Three quick tips in this video 1) jquery’s ajax – how to alert the user that ajax has started, and when it finishes 2) Turn javascript objects in jquery objects very easily 3) mysql words and phrases to stay away from, using the tick marks for safetey

Jquery , , , ,

Php Mysql in Web Development

June 18th, 2007

PHP/Mysql in Web Development

PHP and MYSQL are two of the most popular open-source technologies that are ideal for quickly developing database-driven Web applications. PHP is a powerful server side scripting language designed to enable developers to create feature rich Web applications quickly and MySQL is a fast, reliable and robust database that integrates well with PHP and is suited for dynamic Internet-based applications. They run on both linux and windows servers so your web host most likely supports it. If your site needs to be updated with fresh and constantly updated contents, then you must have a database driven site design.

Technoscore is a  web development company in India, which specializes in Database driven websites designed using LAMP (Linux, Apache, MYSQL and PHP) with content management systems (CMS), which help you update/administer your site without requiring any external intervention.

Even though Technoscore is a Indian web design/development company, they have been serving Global customers since 1999. Their services include php-mysql-web-devlopment and MySQL web development, ecommerce web sites, PHP-MySQL offshore development and
PHP programming services. They have an Offshore dedicated Team to work on any php/mysql project and have it delivered on time, per your specifications. In addition, they are also skilled in flash design, and have worked on several large projects involving flash for overseas clients.

Technoscore is a premier resource for PHP development. Their PHP solutions include the following.

Shopping Carts

Order Tracking

Credit Card Processing

Content management System

Form generators and form processors

Image galleries and stock photo applications using ecommerce

Web traffic analysis

Virtual communities

Blogs

Polls and Surveys

Feedback Forms

Ratings and Reviews

Mailing Systems

Integrated Search

Online Chats

RSS Feeds

Back-end Administration panel

So be sure to check Technoscore out.  They will leverage the cost saving advantages of the above open source technologies to deliver full featured, scalable web solutions while providing quality customer service at the same time.

Contact Technoscore today, and ensure great savings, while successfully outsourcing your web development project.

The Author is a Consultant at Technoscore.com, a Company specialising in Web Design, Development and maintenance, PHP Mysql Development, open source software integration etc.

php ,

Powered by Yahoo! Answers