473,554 Members | 2,844 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where should be placed the DB ?

On my server I have all my site under /public_html... where should I
put my DB?

Jul 17 '05 #1
4 1286
be*****@coaster .ch wrote:
On my server I have all my site under /public_html... where should I
put my DB?


Someplace other than under /public_html - unless you want someone to be able to
download it!

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jul 17 '05 #2
"" wrote:
be*****@coaster .ch wrote:
On my server I have all my site under /public_html... where

should I
put my DB?


Someplace other than under /public_html - unless you want
someone to be able to
download it!

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===


To clarify, public_html is typically the path of your website. When
you set up mysql, it sets up a directory somewhere on your disk, by
default. It is not in the same path, as previously explained.

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-DB-ftopict239546.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=833550
Jul 17 '05 #3
On 12 Jul 2005 10:21:32 -0700, be*****@coaster .ch wrote:
On my server I have all my site under /public_html... where should I
put my DB?


What is your "DB"?

If "DB" is database, the storage of the database is usually handled by your
database server; you feed it SQL, it handles saving to a filesystem somewhere
that you don't worry about too much unless you're the DBA.

--
Andy Hassall / <an**@andyh.co. uk> / <http://www.andyh.co.uk >
<http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #4
Yes, DB is my database. It was originally an Access DB. Then I created
the same structure with phpMyAdmin and exported my Access DB to MySql.
It was located under mysql/data.... and everything was ok. Now I
wanted to send everything to my server. The provider supports MySql and
PHP. Should I first reproduce the structure of my local DB with
phpMyAdmin on my server? And then import the data? In phpMyAdmin I see
only the button Exportieren... Should I export from my phpMyAdmin local
to the server??

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1837
by: Kevin Frey | last post by:
Hello, Let's say I have the following: template< class T > class MyClass { void Func( ); }; and I want to declare a specialisation for Func( ) in the presence of
10
2034
by: vwd2005eeb | last post by:
Visual Web Developer 2005 Express Edition Beta I did Build | Build Web site, where are the DLLs? I was expecting to see maybe one dll for each Web page in a directory (maybe still "bin") under Inetpub/wwwroot/mywebsite/ Thanks.
5
1349
by: vivekian | last post by:
Created a class , which is declared within a namespace . namespace mySpace { class X { /* members */ } This class task is to be used by another class Y , 'using namespace mySpace' directive.
9
2900
by: vivekian | last post by:
Have a couple of global variables of a class type which i have declared and defined in the application. 1. Not sure where should the global variables be placed ? 2. Would i need to forward declare the class before the global variable is declared ? Thanks, vivekian
5
2329
by: acord | last post by:
Hi, I m getting annoying display problem when placing javascript tags in a html page. Should the javasscript tags placed at the beginning of a html page before anything start? or placed between the <head></head> tags? If I placed the script tags at the beginning of the html page, I can have the Draggale Layer shown and movable by the...
0
834
by: intrader | last post by:
The situation is that I would like to generate different XHTML depending on where the control is rendered as per example: 1. If control is placed within a <divor <spanoutput <p>something</p> preceeding the XHTML 2. If control is placed within a <troutput the control within <td>control's XHTML></td> How do I find out the container at design...
3
1255
by: D_a_n_i_e_l | last post by:
I am using fopen with w+ parameter to create a file, no errors are thrown but I cannot find thw file. Where (in what directory) is the file placed ? $ifname = 'test.txt'; $fh = fopen($ifname, 'w+') or die("Can't open file");
68
2622
by: DaveJ | last post by:
Recently I was working on a project where I came across an issue where the program cored and reported "free(): invalid pointer". I found a resolution for this, but don't fully understand why the issue occurred in the first place. The project uses a simple template class that acts as a buffer. Initially it has a fixed length, but it's append...
2
3294
by: Reggie | last post by:
Hi and TIA! I have a class file located in my root directory with all me web pages. I call/use the class and it works fine. I have no imports statements aspx or codebehind. My question is why? I thought the class file had to be compiled and placed in the bin directory or added to the App_Code(as a class file) folder. I don't have it in...
3
5472
by: Johnson | last post by:
I just converted an ASP.NET Web Site to be an ASP.NET Web Application project type in Visual Studio 2005. After the conversion, the whole thing still works - it builds and the Web app runs just fine. However, none of the classes are placed explicitly in any namespace. The ASP.NET Web Site project type apparentlyl infers namespace from the...
0
7499
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7780
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7531
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7862
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6120
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5414
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5136
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3530
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1112
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.