473,909 Members | 5,606 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 1298
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
1848
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
2071
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
1361
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
2930
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
2348
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 mouse, but the entired page will not read the style.css file (as I found the font displayed very ugly);...
0
843
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 time? Thanks
3
1268
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
2713
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 methods will extend the size of the buffer if necessary. Another class defines a struct, that...
2
3326
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 either it's simply in the root. Now When I compile it and place the dll in the bin and remove the...
3
5497
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 site's directory structure. But Visual Studio's conversion process ("Convert to Web Application") does...
0
9879
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11348
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10921
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11052
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9727
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8099
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5938
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3359
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.