Developing Database connection using DW
just had horrendous friday trying connect mysql database having used dw's wizard.
dw's wizard made connection on local testing server , able connect no problem. however, when uploaded files live host, php page not make connection. noted dw automatically created folder 'connections' , string ../connections/connection_name.php created folder on live host 'connections' (note change in capitalization!). reminder unix based system (live host) not forgiving of capitalization. further reminder check connection string in of php pages capitalization differences.
another problem database name , username. host uses cpanel , requires database , username preceded cpanel login name underscore separating two:
(eg,
$database_abcdef = "mycpanellogin_mydatabasename";
$username_abcdef = "mycpanellogin_mydatabaseusername";
regards,
tom smith
tjmsmith wrote:
but created folder on live host 'connections' (note change in capitalization!). reminder unix based system (live host) not forgiving of capitalization. further reminder check connection string in of php pages capitalization differences.
why didn't upload local 'connectons' folder? unless you're saying cap 'c' not recognised remote server.
tjmsmith wrote:
problem database name , username. host uses cpanel , requires database , username preceded cpanel login name underscore separating two:
(eg,
$database_abcdef = "mycpanellogin_mydatabasename";
$username_abcdef = "mycpanellogin_mydatabaseusername";
that's issue have vigilant about. have amend remote database connection details host servers have own specific requests of accepted , not
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment