Wrox Programmer Forums
|
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 3rd, 2009, 08:51 AM
Authorized User
 
Join Date: Jul 2006
Posts: 73
Thanks: 11
Thanked 1 Time in 1 Post
Default Create table

Hi,
Can you show me how to Connected SQL Server base 2008 with JDBC

Last edited by sabra; November 21st, 2013 at 04:32 AM..
 
Old January 4th, 2009, 01:42 AM
Authorized User
 
Join Date: Jul 2006
Posts: 73
Thanks: 11
Thanked 1 Time in 1 Post
Default for Mr jminatel

Hi,
in php mysql, I am quite new and I have a problem rigarding on how to connect to web database from PC.
Thanks,
sabra
 
Old January 4th, 2009, 02:58 AM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Generally, you can't even *SEE* databases that are on the web, unless the DB administrator gives permission, which rarely happens.

If you are coding in PHP, then your MySQL Database needs to be on the SAME COMPUTER as your PHP code or--at the least--on the same LAN as the PHP code.

If you are just starting out, the best thing to do is install MySQL on the same computer as PHP and make that computer your Web Server (or at least your test web server).

And then you *can* create a MySQL table from PHP code, but it's almost NEVER a good idea to do that. 99%+ of the time, you should create your database and all tables *BEFORE* you start writing PHP code to use the tables.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Create generic XSL Template to create table Venkatachalapathy XSLT 5 March 11th, 2008 07:49 AM
Create table from another table using ADO Kaustav Pro VB Databases 0 October 15th, 2005 05:44 AM
Why can't create table? Edward King Oracle 2 July 20th, 2005 04:11 AM
Create a table jmss66 Classic ASP Basics 1 July 19th, 2005 12:50 PM
cannot create table henpur BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 March 17th, 2005 01:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.