|
|
|
|
|
|
Insert Tag Line HERE.....
|
Anyone using MyPhpAdmin with Dreamweaver?
I have questions about uploading a MySQL database to my remote server through Dreamweaver. I'm using DW8 with XP, and MyPhpAdmin. I've built my databases in MySQL (through the MyPhpAdmin on my local machine)and setup the local testing server through DW site management and everything works fine. The question is how do I upload the database to the remote server? I have copied and pasted the folder from the Php directory into my root site folder and uploaded it through DW to the server and verified it is there, but it will not work. Apparantly not the right way to do it! Can anyone tell me what I'm doing wrong? I'm guessing its something to do with the Export function, but not sure which way to go about that.
Thanks! |
||
|
|
|
|
Slackerous Maximus
Join Date: Apr 2005
Location: Columbus, OH
Posts: 18,206
|
Arg....there is path issue here somewhere...sorry, not enough of developer to know where.....
__________________
2022 Royal Enfield Interceptor. 2012 Harley Davidson Road King 2014 Triumph Bonneville T100. 2014 Cayman S, PDK. Mercedes E350 family truckster. |
||
|
|
|
|
The Unsettler
|
In PHPAdmin export the local DB and in admin on the server import it.
DW is not necc.
__________________
"I want my two dollars" "Goodbye and thanks for the fish" "Proud Member and Supporter of the YWL" "Brandon Won" |
||
|
|
|
|
Insert Tag Line HERE.....
|
OK, I figured it was somewhere in that function. In what format? CSV, or what? And i dont see an import function on my server side admin page,. hmm, I see an upload file, but not import.
|
||
|
|
|
|
The Unsettler
|
Quote:
![]() Then hit the little House or SQL icon(depending on your interface) And Import File. Upload is generally interchangeable with Import. ![]() It should automagically parse the format. Create the DB instance without tables on your server first so you can set user/pass privileges before importing. Use same user/pass as you did for the local.
__________________
"I want my two dollars" "Goodbye and thanks for the fish" "Proud Member and Supporter of the YWL" "Brandon Won" |
||
|
|
|
|
Insert Tag Line HERE.....
|
pm sent
|
||
|
|
|
|
|
The Unsettler
|
__________________
"I want my two dollars" "Goodbye and thanks for the fish" "Proud Member and Supporter of the YWL" "Brandon Won" |
||
|
|
|
|
Insert Tag Line HERE.....
|
ok, got all that figured out so far. MANY thanks to Scott! Only issue left is the database linking to the login page in Dreamweaver. So, I need a DW expert now!
See below: I have built a dynamic site with a login .php page. I have uploaded the MySQL database through MyAdminPhp to my server. Question is: How do I link my database for user authentication to my login page? When i try it on WAMP (localhost) it works fine, but will not work through the server side. I'm assuming this is because when I setup the script, it asks me where the database is, and I can find it locally, so I think the link is broken to my server side because it doesnt know where/what database to search for? My host does not allow server side remote testing so i cant go that route. So, how do i tell my server behavior of my login page to go to the right place? Thanks.. |
||
|
|
|
|
Registered
|
Have you checked the MySQL connect line:
mysql_connect("server","username","password") "server" can be an I.P. address, domain name, localhost. Dave
__________________
Make sure to check out my balls in the Pelican Parts Catalog! 917 inspired shift knobs. '84 Targa - Arena Red - AX #104 '07 Toyota Camry Hybrid - Yes, I'm that guy... '01 Toyota Corolla - Urban Camouflage - SOLD |
||
|
|
|
|
Insert Tag Line HERE.....
|
Dave, PM sent
|
||
|
|
|
|
The Unsettler
|
Hey Mark,
Send me the html file. You have the email.
__________________
"I want my two dollars" "Goodbye and thanks for the fish" "Proud Member and Supporter of the YWL" "Brandon Won" |
||
|
|
|
|
Registered
|
Hi Marc,
I talked with stomachmonkey and read your PM. I have a couple of things to do and eat lunch. I'll call a little late, but if you read this, send me a PM with a link I can view. Does not matter if it is broken. Dave
__________________
Make sure to check out my balls in the Pelican Parts Catalog! 917 inspired shift knobs. '84 Targa - Arena Red - AX #104 '07 Toyota Camry Hybrid - Yes, I'm that guy... '01 Toyota Corolla - Urban Camouflage - SOLD |
||
|
|
|
|
|
Insert Tag Line HERE.....
|
Sent
|
||
|
|
|
|
Registered
|
I wrote two php/mysql scripts. They should be pretty plug and play for you. There is one little thing left for me to do and then I will email you a link so that you can check it out. I will also email you the code.
Time to go to the park for a quick 5 mile rollerblade. Will finish when I get back. Dave
__________________
Make sure to check out my balls in the Pelican Parts Catalog! 917 inspired shift knobs. '84 Targa - Arena Red - AX #104 '07 Toyota Camry Hybrid - Yes, I'm that guy... '01 Toyota Corolla - Urban Camouflage - SOLD |
||
|
|
|
|
Registered
|
Update:
Looks like things are working now. I sent some bits of code to Marc and he did his own searching online as well. Now he has some clean up coding to do. FYI - Here's the scripts that I wrote this afternoon... admin.html: PHP Code:
verify.php PHP Code:
members.php *No error checking on this little test page* ![]() PHP Code:
__________________
Make sure to check out my balls in the Pelican Parts Catalog! 917 inspired shift knobs. '84 Targa - Arena Red - AX #104 '07 Toyota Camry Hybrid - Yes, I'm that guy... '01 Toyota Corolla - Urban Camouflage - SOLD |
||
|
|
|
|
Insert Tag Line HERE.....
|
Thanks to Scott and Dave for the help! You guys definetly pointed me in the right direction. The site is up and running, and correctly I might add!
At one point I thought I was going to lose it when I had one teeny weeny simple syntax error that kept the whole script from running. After a two hour hunt, I found it... Yes, I apparantly made the holy grail of mistakes. You see I used a '{' instead of a '[' in one of the lines!
|
||
|
|
|
|
The Unsettler
|
Awesome.
__________________
"I want my two dollars" "Goodbye and thanks for the fish" "Proud Member and Supporter of the YWL" "Brandon Won" |
||
|
|
|
|
Registered
|
Hi Marc,
I got your voicemail. I'm glad it's all working. Yes, coding can be frustrating, especially when it's the tiniest of errors and an error you have looked at for two hours but still don't see. I had that happen to me last night. One letter was missing on a variable and even though I kept staring right at it, I still did not notice. It's rewarding when it all works in the end though! Dave
__________________
Make sure to check out my balls in the Pelican Parts Catalog! 917 inspired shift knobs. '84 Targa - Arena Red - AX #104 '07 Toyota Camry Hybrid - Yes, I'm that guy... '01 Toyota Corolla - Urban Camouflage - SOLD |
||
|
|
|