Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7245

Setting up mysql on local pc (1 reply)

$
0
0
Hello,

I have a website and I just created a BBS section; I'm quite new to this.
The top page in the .../bbs directory is "index.php".
The database is created and everything is working fine.
I have the same structure on my windows computer; apache, php, mysql are installed; database is not yet created.

What I want is to be able to see the index.php file on my computer like it is on my site, so I need to setup a database on my local pc.

The problems:
1. What are the steps to setup mysql? I read the tutorials on this site and they talk about the configuration file my.cnf which doesn't exist in the "MySQL Server 5.5 directory" (there is only a my.ini file); I don't have such directories as /usr/local/mysql/data, or /usr/local/var that they talk about. The only folders are: bin, data, include, lib, share.
I'm really new to this and don't know how to start. I don't have a shortcut to the Wizard in the Start menu, I think I deleted it before.


2. I would like to make the default directory for databases in D:/mysites, for example D:/mysites/databases.
So how can I instruct mysql about this path?

Thanks.

Viewing all articles
Browse latest Browse all 7245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>