MySQL databases and dreamweaver
Please, somebody help me!!
I am on a Mac. I have my site up but can't use it because of
the database issues I am having.
1. I don't write code - hence my purchase of Dreamweaver
2. My host will not allow me to connect to MySQL
(server-side) and suggested I try an SSH. I got Navicat.
It seems I need to connect to the database through
Dreamweaver in order to create my PHP pages. I don't know how to do
it or if it is possible using an SSH (Navicat)
Also I don't understand the whole "test server" thing. It was
suggested I connect my Mac to a Windows machine to create a testing
server. Is this really necessary? I have an external hard drive
with tons of space. Can I use that? Are there any other options? I
don't know a single Mac user who has a spare windows machine lying
around.
My site is ready to go but useless unless I can this
database-access problem solved. I need to create PHP pages but
cannot do it without some sort of access to my database.
Please HELP!!!
See if this helps:
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com
"farfalle" <[email protected]> wrote in
message news:ff5t8j$da5$[email protected]..
> Please, somebody help me!!
>
> I am on a Mac. I have my site up but can't use it
because of the database
> issues I am having.
>
> 1. I don't write code - hence my purchase of Dreamweaver
> 2. My host will not allow me to connect to MySQL
(server-side) and suggested I
> try an SSH. I got Navicat.
>
> It seems I need to connect to the database through
Dreamweaver in order to
> create my PHP pages. I don't know how to do it or if it
is possible using an
> SSH (Navicat)
>
> Also I don't understand the whole "test server" thing.
It was suggested I
> connect my Mac to a Windows machine to create a testing
server. Is this
> really necessary? I have an external hard drive with
tons of space. Can I use
> that? Are there any other options? I don't know a single
Mac user who has a
> spare windows machine lying around.
>
> My site is ready to go but useless unless I can this
database-access problem
> solved. I need to create PHP pages but cannot do it
without some sort of
> access to my database.
>
> Please HELP!!!
>
Similar Messages
-
Connection error mysql database in Dreamweaver
the error message is - HTTP error code 404 file not found. here are some possible reasons
screen shot - http://netwizlk.site50.net/images/DW-error.jpg
1)there is no testing server running on the server machine.
2)the testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMhTTPDB.php verify that the URL prefix maps to the root of the site.
guy pls help me to solve this problem. I tried several times to connect my mysql database with dreamweaver but ended up having this error I reinstalled dreamweaver cs4 and XAMPP still the error is not rectified my both remote and local files are stored in XAMPP server location called in c:\xampp\htdocs\htdocs\myweb
anybody who could give me a speedy solution for this issue will be highly appreciated thanks alot guys.c:\xampp\htdocs\htdocs\myweb
MM serverscripts must be at the root level of the virtual server, that is directly in the htdocs folder.
Mylenium -
What should i do with an Oracle 11g Database, MySQL database and a dump file.
I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
I have another Sever test that already set up MySQL database, and a dump file from the system.
So I want to ask these 2 questions :
1. How to create an new Oracle Database from that dump file ?
2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
Thanks alot.I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision -
How to conncet mysql database and oracle database 11g2 on linux 5.4
Hi,
Can anyone help me to connect mysql server database to Oracle
database on Linux OS?
I have done all things, but I am getting a problem in installing dg4odbc
driver on Oracle database. In a simple word, I don't know how to create
listener between mysql database and Oracle database.
If anyone knows that please help me in configuring dg4odbc for Oracle. OS
-Linux 5.4 and refer any doc or link.
oracle 11g2 11.2.0.1
i follow the metalink id - 466228.1 ( but cant successed).
Thanks and regards,
pritesh ranjanhi pl z clear me it is required to install manully the dg4odbc driver for oracle to connect MySQL server database. because in my $ORACLE_HOME/hs/admin/initdg4odbc.ora is present automatically.
details of the initdg4odbc.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = mysql_odbc
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME = /usr/lib/libmyodbc5w.so
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
set LD_LIBRARY_PATH=/usr/lib
# Environment variables required for the non-Oracle system
#set HOME=/home/oracle
~
~
~
"initdg4odbc.ora" 20L, 437C
details of the listener.ora file
DG4ODBC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA=(SID=dg4odbc))
(HS=OK)
SID_LIST_ORCL =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = ORCL)
ADR_BASE_DG4ODBC = /u01/app/oracle
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = pritesh11gprim.oracle.com)(PORT = 1521))
ADR_BASE_ORCL = /u01/app/oracle
"listener.ora" [readonly] 37L, 779C 35,0-1 85%
details of tnsname.ora file
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.132)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
DG4ODBC =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=DG4ODBC))
(HS=OK)
MYSQL =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(CONNECT_DATA=(SID=MYSQL))
(HS=OK)
when i m going to start the listener it could not be started..
details of the mysql server database
[root@pritesh11gprim ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.10 MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql> show databases;
| Database |
| information_schema |
| demo |
| mysql |
| performance_schema |
| pritesh |
| test |
6 rows in set (0.01 sec)
if any where i m wrong then plz suggest me......
thanks & regards
pritesh ranjan -
Help on working with MySQL databases in Dreamweaver
I am new to the world of dynamic webpages. I have been
following along on the Lynda.com videos Dreamweaver CS3: Beyond the
Basics, and Dreamweaver CS3: Dynamic Development, and have
basically got it figured out for doing stuff on my local computer.
However, I can't quite figure out what steps I have to take so that
I can take my database driven site live. I use hosting with both
ASTHost and GoDaddy. My hosting with each, I believe, is on Linux
servers (GoDaddy for sure Linux, ASTHost may be MS). I am designing
with DW CS3, and using WAMP as the PHP server on my pc. I am also
using MySQL version 5.0. My PHP version is 5.1.2 with ASTHost and
GoDaddy.
Can anyone point me to a good tutorial or site that explains
how to move the site from your own pc at home onto a hosting server
and make it work? I have tried a few things, but keep running into
MySQL errors.I have seen a good solution at http://webdesignsolutions.co.in/add-phtml-extension-in-dreamweaver , this is very simple.
-
Connecting a MYSQL database in Dreamweaver
Hi All,
I'm tryting to connect a mysql database based locally and am getting the error:
HTTP Error Code 404 File Not Found. Here are some possible reasons for the problem:
1) There is no testing server running on the server machine.
2) The testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMHTTPDB.php. Verify that
the URL Prefix maps to the root of the site.
What does this mean?
How do I start the testing server? I'm unable to locate the folder where the database files are stored as the database has been created locally on my machine. Everything hace been created locally so I know that point 2) could well be irrelavant.
Please can somebody help?
Many Thanks
GordonThe functions for connecting to a database were mostly deprecated. But if you enable them in CS6 Cloud/CC then they will be the same.
-
MySql database and php code on different servers
I created a table on a MySql database on server A. Now I'm
trying to create
a page to display the contents of the table. I know that the
html code ( and
php) is on a different server (server B). I managed to create
a database
connection however when I try this connection I cannot see
the table I
created. When I click on the Connection name I get the Stored
Procedures,
Tables and View list. I click on the Tables and although I
get a connection
to the server A, no table is displayed.
Am I trying to do something silly here?
any help will be appreciated.
Twanny> Am I trying to do something silly here?
I do it this way all the time. My testing server is local to
my development
LAN, but the MySQL server and database is remote (on the
remote site). To
make this work, you would have to make sure that the remote
server permits
an external connection. If it does, you should be golden.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Twanny" <[email protected]> wrote in message
news:gabbu1$ngv$[email protected]..
>I created a table on a MySql database on server A. Now
I'm trying to create
>a page to display the contents of the table. I know that
the html code (
>and php) is on a different server (server B). I managed
to create a
>database connection however when I try this connection I
cannot see the
>table I created. When I click on the Connection name I
get the Stored
>Procedures, Tables and View list. I click on the Tables
and although I get
>a connection to the server A, no table is displayed.
>
> Am I trying to do something silly here?
>
> any help will be appreciated.
>
>
>
>
> --
> Twanny
> -
Dynamic checkbox - displaying from mysql database and inserting after selection
I have a many to many relationship between Students and Modules and I created another table called StudentModules which will hold StudentID and ModuleID. Since it is a many to many, one students can study many modules..
I am trying to create a page where the user will select the modules he or she will be taking from a web page with checkboxes (The Modules will be coming from the Modules table). The selection will then be inserted into StudentModules. Can anyone guide me to a tutorial which can help me? I can pick up the StudentID either from session or url variable but having problems with checkboxes. I am using php mysql and Dreamweaver.Hi Bregent,
Thanks for your suggestions. This is what I have for the moment.
http://p4uluv.brinkster.net/cfsl/moduleselection.php
and the piece of coding for my checkbox are:
<?php do { ?>
<input name="checks" type="checkbox" id="checks" value="<?php echo $row_rsModules['ModulesID']; ?>" <?php if (!(strcmp($row_rsModules['ModulesID'],"True"))) {echo "checked=\"checked\"";} ?>>
<label for="checks"><?php echo $row_rsModules['ModulesName']; ?></label>
<?php } while ($row_rsModules = mysql_fetch_assoc($rsModules)); ?>
I am hoping once it is checked, it will pick up the ModulesID. I am now in the process of creating another page that will pick up the moduleID.. -
Connecting mysql database to dreamweaver
when i try to upload database which i did in mysql to the
webserver from dreamweaver by doing: view - live data in
dreamweaver i get this message: "the testing server did not execute
any of the scripts in your document.possible explanations
include:1. the testing server is not running 2. the testing server
ignores files with the php. extension. 3. your document does not
contain any scripts"
my webserver is xampp (appache + mysql) and below are the
scripts which i used:
also when i do F12 the images in the database appear gibrish
on the webserver page.
what did i do wrong ?noa2 wrote:
> when i try to upload database which i did in mysql to
the webserver from
> dreamweaver by doing: view - live data in dreamweaver i
get this message: "the
> testing server did not execute any of the scripts in
your document.possible
> explanations include:1. the testing server is not
running 2. the testing server
> ignores files with the php. extension. 3. your document
does not contain any
> scripts"
It sounds as though you have not defined the testing server
correctly in
your Dreamweaver site definition.
> my webserver is xampp (appache + mysql) and below are
the scripts which i used:
> also when i do F12 the images in the database appear
gibrish on the webserver
> page.
You should not store images inside the database. Or if you
do, you need
to write a proxy script to display them. The normal procedure
is to
store the details of images (such as filename) in the
database, but keep
the images themselves in the normal file system. Use the
filename from
the recordset result to build the <img> tag to display
the image.
> mysql_connect("","","");
Using mysql_connect() with only empty strings as arguments
means you
have a totally unprotected database.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Mysql, PHP, and Dreamweaver
Hi!
I am struggling with the mysql connection problem with
Dreamweaver 8.02 on the mac. I downloaded the trial version of both
the Windows and the Mac of Dreamweaver. On the Windows side, I can
put all my information in and it connects to the database fine.
However, if I duplicate every single entry for the server
information on the Windows side to the Mac side, I get the never
ending problematic "404 File Not Found" error message and
"unidentified error" message that keeps popping up.
Even furthermore, after checking the web server logs, when I
test the mysql connection on the Windows end, I see a post on the
web server. When I check it from the mac end, I see nothing on the
web server.
I have used Dreamweaver in the past on the mac side, and I
have always struggled with getting this to work. Why am I having so
many problems with it and how can I resolve them?
Thanks in advance...wiz561 wrote:
> However, if I duplicate every single entry for the
server information on
> the Windows side to the Mac side, I get the never ending
problematic "404 File
> Not Found" error message and "unidentified error"
message that keeps popping up.
This is probably a result of the testing server definition on
your Mac.
The normal location for dynamic sites on a Mac is in the
Sites folder of
your home folder. The URL prefix for this translates to this:
http://localhost/~username/
Not
http://localhost/ as on Windows.
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/ -
Unable to connect to MySQL database in Dreamweaver CS3
I have been working on this problem for hours and am getting
very frustrated. I hope someone can help me out.
My FTP server and MYSQL server have to use two different
hosts.
I will be using false information in this post but hopefully
someone can help me out.
FTP info
domainname.com
username
password
MySQL info
123.servername.com
dblogin
dbpass
port: 3306
Now im sure the problem lies with the Testing Server.
Server Model: PHP MYSQL
Access: FTP
FTP Host:domainname.com
host directory: web/htdoc (this is the folder which holds ALL
of the files which can be reached by domainname.com)
login: username
password: password
url prefix:
http://www.domainname.com
when i try to use this information and then add a database
using the (+) I get access denied errors.
I have tried using 'localhost' as the server and
'123.servername.com'
I should mention that I am able to connect to the database
remotely using the same information using software such as SQL
Maestro, so I know that it isnt the database.
can someone who has successfully done this kind of connection
please tell me what is supposed to go where, the help documents are
horrible at best.This may, or may not, help...
For those using MySQL - Installing PHP and MySQL on Windows
XP
http://www.webassist.com/professional/products/solutionrecipes.asp -
Getting Data From MySQL Database using Dreamweaver CS4 Built In Functions
Hi,
I am really in need of some help if you don't mind.
I basically have a website with user regsitration system etc and so on.
I basically connected to my Data Base in Dreamweaver CS4 and now want to use the tools in Dremweaver CS4 to display Data from database.
Problem is i see the tools but not really sure how i use them. I see on Data bar all the tools to view, update delete records etc.
I basically created a page where i want to display all the records in the DB. I done this using dynamic data selecting what fields to display etc and 15 records per page.
When i view the page in localhost thou it is only showing 1 record althou i have like 5 users in my test db.
So if anyone can really tell me how i go about displaying data from db that be great. When i learn how to do that i probably will understand and learn how to update records etc.
ThanksTo display all records, you need to apply a repeat region to the paragraph, div, or table row that contains the dynamic text objects for the database results. You might also find it helpful to follow the dynamic application tutorial in the Adobe Developer Connection.
-
Connecting to a LIVE mySQL database via Dreamweaver (ASP)
Hi All,
Have a bit of of an issue with connecting to my live database... I've created several sites in PHP and each time its been really easy to set up a connection to the live database (on a shared server), and work using live data... but I can't figure out how to do it when working on an ASP (vb) site!? Can anyone direct my on how to do it please? ... or direct to some documentation on the subject? Cheers!
Regards,
DanSorry for jumping into the thread with a bit of an off topic question, but how do you find out what kind of a db the asp server is using? I've asked my company's web host a number of times for info/help in getting connected using Dreamweaver so I can redesign our site and I never hear back from them. It's a very specialized web hosting server set up for rubber stamp web sites. Looks like most of their customers use the online website design tool that they provide, but it is very limited in what it can do. Very limited.
They give me ftp access and I've changed what I can on the page, but with out access to the db it's hard to really change the look of the site.
Here's the link:
http://www.tacomarubberstamp.com -
How can I include a MySQL table and records with the PUT of my Dreamweaver site?
I am using .php to validate a user code against one of four codes that I am providing to potential clients. They enter that code, along with a default user id and the appropriate page is then displayed for them. Everything is working fine on the desktop. I need to have this table and the records created on my remote server. I tried saving the table in the Connections folder, but that didn't help. Everytime I enter a code (valid or invalid) on the live site, I get the following message: "Table 'boundsauctions_com.promocode' doesn't exist". Is there someway to include the table and records in my Dreamweaver folders for the site?
Thanks for any help that you can offer.You can't. Dreamweaver, or FTP for that matter has no connection to the MySQL database. If you have created a MySQL database locally and now wish to move/copy it to your server you'll need to create a back up of your local database and then log into your database on the server and then restore that back up.
An even easier way to do this, and if you are working with MySQL much at all a good investement is to get the commercial version of Navicat MySQL - this is the best MySQL administrator I've found to date and is well worth the few bucks to buy it. With Navicat you can connect to your local MySQL database and also create a connection to your remote database, then literally drag and drop your local database contents to copy them to your server. This function alone justifies buying Navicat. A huge time saver. And no I do not work for or have any share or ties to Navicat. I'd recommend something else if I knew of anything better, but so far I don't.
Hope this helps. If you need any more details let me know.
Lawrence Cramer - *Adobe Community Professional*
http://www.Cartweaver.com
Shopping Cart for Adobe Dreamweaver
available in PHP, ColdFusion
Stay updated - http://blog.cartweaver.com -
Problem when displaying images when working with PHP, mysql and dreamweaver in a brower
Hey Guys
I am new to dynamic development but I already did some
research and tutorials about how to get a dynamic web site working
with PHP and Mysql in Dreamweaver. I set up a test page to view
some content on it directly from the mysql database and it worked
just fine in dreamweaver only when I pressed the
live data view.
When I tried to view the same page using the browser preview
with firefox and internet explorer, plain text from the database
was correctly displayed on the brower but the images were absent.
In the mysql database I used the varchar as my picture data
type field so that I will refer in dreamweaver in the data binding
panel in the img.src to the picture column of my database.
I anyone can tell me what am I doing wrong so that my
pictures are not displayed in the browser when i click the browser
preview facility in dreamweaver I would be very very and very
pleased ! :)The odds are that it is the way that you have referenced the
images rather
than an issue with the database. If you have the images root
relative like
this "/images" then they will work in preview, and on the
webserver, but
will not view when looking at the file via localhost.
If possible make the links page relative and then they should
work fine.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"mariosal026" <[email protected]> wrote in
message
news:ea3nq2$9ol$[email protected]..
> Hey Guys
>
> I am new to dynamic development but I already did some
research and
> tutorials
> about how to get a dynamic web site working with PHP and
Mysql in
> Dreamweaver.
> I set up a test page to view some content on it directly
from the mysql
> database and it worked just fine in dreamweaver only
when I pressed the
>
live
> data view.
>
> When I tried to view the same page using the browser
preview with firefox
> and
> internet explorer, plain text from the database was
correctly displayed on
> the
> brower but the images were absent.
>
> In the mysql database I used the varchar as my picture
data type field so
> that
> I will refer in dreamweaver in the data binding panel in
the img.src to
> the
> picture column of my database.
>
> I anyone can tell me what am I doing wrong so that my
pictures are not
> displayed in the browser when i click the browser
preview facility in
> dreamweaver I would be very very and very pleased ! :)
>
Maybe you are looking for
-
PHP- Oracle not working- Call to undefined function OCILogon() ERROR
Hi, I am trying to just do a test program to test php - oracle connection, My versions are: php5.2.1-Win32 and Oracle 10g I have made the following settings: 1.) Uncommented the following lines in php.ini: extension=php_oci8.dll extension=php_oracle.
-
17" MacBook Pro Screens w/ Gray spots
Our office has a number of of 17" MacBook Pros all purchased at the same time, all handled by different people, that have spots that began to appear within 2-3 months on our screens. A couple of our staff have stopped by the Apple Store in the area a
-
Can we call another flavor using launch button or script button
I am creating a Welcome screen ( 1st flavor for SMEN transaction) . However I want to call another flavor ( 2nd flavor for SMEN transaction) from 1st flavor . Second flavor will have a few transactions ( for example which are used only for budgeting
-
MacBook Pro slower than iMac wifi
My MacBook Pro (2 yrs old), is MUCH slower on our wifi network, than my imac (5 yrs old). The MBP is actually closer to the router, and when I run speedtest.net, the imac is showing better/faster results than the MBP. Any ideas would be great. thanks
-
Can anyone tell me how to attach or insert a pages file so that when I send an email and the recipient opens it, the pages piece opens with it (like a picture imbedded in an email). I don't want to send as an attachment the recipient has to open sepa