I am using phpmyadmin mysql database for yii framework but i cant create a new app using command prompt, instead i go on
c:\xampp\htdocs\yiiframework\framework\yiic\webapp ..\\..\\yiitestapp
and then cmd opens and it asks for yes/no. my cmd does not works
I have already set my environment variables to c:\xampp\php
Please reply how would I create a new app with database table using phpmyadmin.
from your comments i came to know that you are using windows, wamp server package
in your local m/c
based on this assumption
you can use
http://localhost/phpmyadmin/
to create your database
create edit and delete tables
then use
http://localhost//*yor web application name*/?r=gii
to access gii tools
pls let me know if any problem persist
Related
I'm confused about how Odoo selects the database to use when starting the server.
I have a few databases. The database todo is the database that I'm using to develop my application. The only app that I have installed in the todo database is my todo app. I started my server through PowerShell (I'm on Windows) using ./odoo-bin.exe -d todo -u todo_app --test-enable From my understanding, this should start the server using the todo database. However, when I look at odoo.log, I see a bunch of tests running from other apps that aren't installed in the todo database. Those apps and tests are installed in a different database.
If I go to /web/database/selector and select my todo database, then restart my server, it works as expected with only the tests in my todo database running, and only the todo app showing as being installed on the Odoo web page.
It seems like Odoo is ignoring the -d flag to odoo-bin and always using the last database that I selected through the web page.
Is that how it's supposed to work and am I wrong about how the -d flag works?
How do I get Odoo to select its database from odoo-bin rather than having to go to /web/database/selector change databases after starting the server?
-d flag doesn't mean select automatically that database it tells odoo to create that database if it's not there and run upgrade on todo if it's installed (-u todo).
You can use dbfilter option to use only one database. Example:
--db-filter='todo'
I'm on my phone sorry for my short answer
Question
Sign in to vote
0
Sign in to vote
VS2013 Community html project, SQL2014 Standard db
Does anyone have a good walkthrough of deploying with an intrinsic db? Deployment with external db works fine, but not with intrinsic.
F5 build works fine on localhost with external or intrinsic db, server deploy to IIS/SQL works fine with external db... just not with intrinsic db...
None of the docs I have found are real detailed about how to setup sql server to handle the intrinsic deployment.
Created the sql project, selected that in LS app properties. Do I create a DB on the SQL server or does LS do that? The Publish dialog on the database step says the admin account will be used to "create and update" the db. Have tried sql admin account with and without specifying a target db. Can the user account be the same as the admin account? Tried that both ways.
Moved from RDS to a fully managed SQL instance and now works. – user5050939 just now edit delete
I upgraded to worklight 6.0. I added both derby_core_plugin_10_8_2, derby_iu_doc_plugin_1.1.3, into eclipse-->plugins I restarted Eclipse and right click my project to add Apache Derby nature...nothing seems to happened, then I tried to go directly to server/java-->apache derby--> run SQL Script using "ij"...I get (the selected project does not have Apache derby nature please add it and try again)
Your question needs more clarity...It is unclear what you are actually trying to accomplish.
If you're trying to get worklight to run using a Derby database, then you have to modify your worklight.properties file with the following
wl.db.url=jdbc:derby:${worklight.home}/derby/WorklightDB;create=true
wl.db.username=dbusername
wl.db.password=dbpassword
If you're trying to call an SQL adapter to connect to a Derby database, then you'll need to post more information in order for us to see what it is that isn't actually working.
I have an issue with logging a Support user into an Application that has a SQL Server backend.
When configuring the application itself, the SQL set-up asked me to assign whether the Security to access the Application would be Windows Authentication or SQL: server Authentication, I chose Windows Authentication, and as I was using a login called
'LabUser1' I have been able to login to the application fine.
However, when I logon to the server using a different windows login, this time 'Support', SQL keeps giving me the error:
Error accessing the database DSN
Now I know the reason is because the install of SQL happened using the 'Labuser1' profile, but how can I create a script that will allow me to add the 'Support' user to the 'Allowed Logins' so that I can logon to the app server and at least open the Application? (I have seperate logins for when I see the applicatiojn login window, so please don't confuse the matter by thinking it is a simple case of creating a login for Support....I am talking about logging into the server)
The current batch file I am trying to run is:
sqlcmd -S localhost\OCDBB01 -i createSupportlogin.sql
Then I run this batch file after having created the following SQL script:
CREATE LOGIN OCDMW1\Support FROM WINDOWS
GO
Your description of the situation is a bit confusing to me however it appears that the "SQL setup" that is part of the application configuration created a ODBC DSN that uses the credentials of person logging into the machine as the login for SQL Server.
Simply creating a new (correct) login to the SQL instance may not resolve this issue since that does nothing to modify the DSN. If you are tied to using Window Authentication for SQL access it might be necessary to create multiple DSNs for the application to use and find a way to have the correct DSN associated to the right login for the application to use.
i need run code that will create a database and populate tables. i am using windows. how can i run this code?
localhost/phpmyadmin shows nothing, it's a blank page
could it be because i installed the lite version?
Point your browser to http://localhost/phpmyadmin IIRC. You may need to set that up using XAMPP's control panel first, though.
You can also connect if you have the mysql command line client which is downloadable from mysql.com. I personally prefer that, but to each his own:) If you need to execute code, you should have set up a root password when you installed or it can be done through the control panel and you can use that account in your connection string to execute the code that will populate the tables, etc.