Solved

Creating a mysql database and tables

Posted on 2007-03-17
7
368 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

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…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

705 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