Solved

Creating a mysql database and tables

Posted on 2007-03-17
7
365 Views
Last Modified: 2013-12-13
Normally where would you set phpMyAdmin to create databases and tables?  I am completely new to phpMyAdmin and want to make sure I don't start off wrong and have to redo everything.  Thanks!
0
Comment
Question by:pingeyeg
  • 4
  • 3
7 Comments
 
LVL 20

Assisted Solution

by:steelseth12
steelseth12 earned 500 total points
ID: 18740464
\mysql\data
0
 
LVL 1

Author Comment

by:pingeyeg
ID: 18740472
So, for instance, if I have the following, what would I do to make it go to that?

$cfg['UploadDir'] = 'http://localhost/';
$cfg['SaveDir'] = 'http://localhost/';
0
 
LVL 20

Expert Comment

by:steelseth12
ID: 18740516
$cfg['UploadDir']  and $cfg['SaveDir'] as just the directories where sql files and sql dumps will be stored ... its not where the databases are created.

0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 1

Author Comment

by:pingeyeg
ID: 18740533
So you are saying, if I'm following you correctly, that I would make both $cfg['UploadDir']  and $cfg['SaveDir'] to point to \mysql\data?
0
 
LVL 20

Accepted Solution

by:
steelseth12 earned 500 total points
ID: 18740552
no \mysql\data is where the actual databases are created and its outsite the document root.

just make a folder mysql/upload for $cfg['UploadDir'] and mysql/download for $cfg['SaveDir']
0
 
LVL 1

Author Comment

by:pingeyeg
ID: 18740564
One other thing, what does Collation mean?  I see everything except for english.
0
 
LVL 20

Assisted Solution

by:steelseth12
steelseth12 earned 500 total points
ID: 18740586
if you are using only english set it to latin_bin or latin_general_ci for case insensitive
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Complex MySQL Query 2 33
mysql query for sum() 3 28
Uploading a CSV Data Import via PHP & MySql 3 32
Ajax and PHP 9 30
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question