Can you create Databases with MySQLMyAdmin?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
rush_11
-


Joined: 13 Jul 2003
Posts: 5

PostPosted: Thu Aug 07, 2003 5:21 pm    Post subject: Can you create Databases with MySQLMyAdmin? Reply with quote

If you can, could you please give me a guide on how to make databases with the MYSQLMyAdmin please.
Back to top View user's profile Send private message AIM Address
CyPliX
-


Joined: 07 Aug 2003
Posts: 6

PostPosted: Fri Aug 08, 2003 5:07 am    Post subject: Re: Can you create Databases with MySQLMyAdmin? Reply with quote

CONFIGURING PHPMYADMIN and ABYSS WEB SERVER:

If you havn't already, download and install phpmyadmin and host it on your server. Making sure you have php and mysql installed and configured properly, alias the phpmyadmin and stick access control so no one else can edit your databases.

on mine i did: /myadmin

The next step is to configure phpmyadmin. Open the folder where you stored phpmyadmin and edit the file called: config.inc.php
Opening it in notepad might not be a good idea, personally i would either use a html editor or 'Textpad'.

Scroll down till you see: $cfg['Servers'][$i]['host'] =''; variables, they should looks somthing like the following:

I have the following set in my config:
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'username';
$cfg['Servers'][$i]['password'] = 'password';

You should have somthing similar, however, you must specify your own username and password that you specified when you installed mysql.

*Keep the editor open, but save so you can continue with the following.

Run/Open your internet explorer program and direct it to your host and alias address. example: http://localhost/myadmin

Provide your username and password details that you specified for the access control alias.

Assuming you did everything correctly you should see phpmyadmin appear.

Now, assuming also that you have installed the latest version of phpmyadmin..

You might see some red text down in the middle of the page, if so, open that config.inc.php file and change:

$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;
to
$cfg['PmaAbsoluteUri_DisableWarning'] = TRUE;

*Save and refresh your page.

CREATEING A DATABASE:

There will be a neat little box in the centre of the page, called Create new database. Type in a name for your database and press Create.

**Your database has been created

The rest is pritty self explainitory.. Create a table, edit the tables to create fields and their properties.
Edit a table to fill in the fields.

::THE END::
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group